WCF to gRPC migration

43 views
Skip to first unread message

Manikandan V S

unread,
Feb 13, 2023, 12:58:09 AM2/13/23
to grpc.io
Hi Team,

We are doing the migration from WCF to gRPC. IN WCF we used ServiceInstanceContext as percall, persession and Singleton. Based on these we have our business logic. When we explored the similar implementation in gRPC and could not find any. 

Is anyone aware of any such implementation in gRPC.

Thanks in Advance.

Jan Tattermusch

unread,
Mar 31, 2023, 5:16:33 AM3/31/23
to grpc.io
Hi,

if you are using grpc-dotnet (as you should since Grpc.Core is in maintenance mode), there is some support for specifying gRPC service lifetime.
At the very least, you can configure the "Scoped" and "Singleton" lifetime for services in grpc-dotnet.
Reply all
Reply to author
Forward
0 new messages