In what context are you trying to use a gRPC service Windows desktop or ASP.NET? Core or non Core?
gRPC and WindowsIdentity
JT
1
Reputation point
All, I’m considering moving a WCF client server app to gRPC (as recommended due to WCF end of life)
However, this looks like a tricky, as I can’t find a gRPC equivalence of
OperationContext.Current.ServiceSecurityContext.WindowsIdentity.Name;
Which is a major issue.
We’re a 100% windows shop, so I’m not bothered about portability.
2 answers
Sort by: Most helpful
-
-
Duane Arnold 3,216 Reputation points
2021-01-21T06:05:33.373+00:00 I think you may have to consider a gRpc service using ASP.NET Core Web based solution.
https://learn.microsoft.com/en-us/dotnet/architecture/grpc-for-wcf-developers/call-credentials