title: Self hosted ASP.NET web services as gRPC server and client
body: <p>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.</p>
  
  <p>I have found an answer <a href="https://stackoverflow.com/questions/35176091/how-should-a-grpc-service-be-hosted">here</a> 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 <code>Global.asax</code> methods <code>Application_Start</code> and <code>Application_End</code> if we use Topshelf?</p>