Whats the best way to host the GRPC Server?

805 views
Skip to first unread message

pra...@gmail.com

unread,
Feb 3, 2016, 3:19:51 AM2/3/16
to grpc.io
Hi All,

I have created a GRPC Service. What's the best way to host this Service. The Server is created in C# and since this service is not part  of IIS, how should I handle the scenarios when the service shuts down? Should I override the OnShutDown() event in C# Service and the start another instance? Is there any better way to achieve this?

Jan Tattermusch

unread,
Feb 23, 2016, 6:04:04 PM2/23/16
to grpc.io
Hi,

we haven't really looked yet into IIS (or ASP.NET) integration yet, so as of now, gRPC C# is basically a standalone server with no relationship to IIS. That being said, any way to spin up and shutdown a gRPC server from an IIS service is fine, given it suits your needs. Feel free to share your experience here.

If there's demand for it, we will probably look into providing a more fluent integration with IIS in the future.

Jan Tattermusch

unread,
Feb 25, 2016, 7:53:51 PM2/25/16
to grpc.io
I filed a tracking issue https://github.com/grpc/grpc/issues/5425 for this.
Reply all
Reply to author
Forward
0 new messages