You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.