We have an ASP.NET web service which is currently hosted on IIS. It acts as a client and as a server. The project is using .Net 4.6.1 framework. We want to abandon SOAP and use gRPC protocol, but IIS doesn't support HTTP2, so we can't create a server out of it.
I have found an answer here that suggests that we make our application a windows service using Topshelf. Will this basically mean that we are writing our own hosting service? The application in question has a configuration in Global.asax which should be ran on application start, so it gets configured properly. It is using Autofac for dependency injections. Will we be able to run the Global.asax
methods Application_Start
and Application_End
if we use Topshelf?