CorrelationId icon indicating copy to clipboard operation
CorrelationId copied to clipboard

Make the library work with GRPC

Open SeanFarrow opened this issue 5 years ago • 1 comments

This may already work, but if it does not, it would be nice if the library worked with GRPC.

If it does, it would be nice to have a sample.

SeanFarrow avatar Dec 28 '19 16:12 SeanFarrow

@SeanFarrow This should work without any changes for incoming IDs as everything still works on top of ASP.NET Core and middleware regardless of whether the app handles gRPC requests or HTTP calls.

For passing the ID onto a downstream gRPC service, the new delegating handler for the 3.0.0 preview should work too, since gRPC client is based on HttpClient. It will just need to be added to the handler chain.

I'll review whether a separate sample is necessary.

stevejgordon avatar Dec 31 '19 13:12 stevejgordon