In the previous post “gRPC and C# 8 Async stream“, we looked at how gRPC server stream and C# 8 Async stream work great together. In this post, we are looking at the way we can, from the client, stop the server to stream results back.
Continue readinggRPC and its idea to describe an API in a standardized file, which can generate both client and server code to interact in different languages is a compelling idea.
In this post, I would like to have a quick look at the experience you would have with gRPC streaming capability and the new C# 8 async streams, which sounds like a perfect match.
I like very much the idea of a .NET Generic Host in the MSDN documentation:
Continue readingAn object that encapsulates an app’s resources, such as:
- Dependency injection (DI)
- Logging
- Configuration
- IHostedService implementations