In this post, I want to focus on the implementation of server streaming and client consumption of the stream when using gRPC with .NET Core. The samples in this post are based on versions you can find in my complete demo application up on my gRPC Demos GitHub repository. As a bonus, we’ll make use […]
Category: ASP.NET Core
Using Configuration and Options in .NET Core and ASP.NET Core Apps
This week, my second Pluralsight course, “Using Configuration and Options in .NET Core and ASP.NET Core Apps” was released. This new course dives deeply into the configuration and options extension libraries provided by Microsoft. These are a foundation of modern ASP.NET Core applications and support loading of configuration from many providers and sources. They can […]
Creating gRPC .NET Core Client Libraries
This week, .NET Core 3.0 and ASP.NET Core 3.0 launched and one of the headline features is the fact that we can now easily create gRPC server applications and clients to consume them. I’ve been playing with gRPC locally for a little while now and really enjoy the experience. I’ve created a new talk called […]
Getting Started with gRPC Client Factory
Regular visitors of my blog will know that I’ve written a lot of posts about the HttpClientFactory feature, available in the Microsoft.Extensions.Http package which simplifies the consumption and proper lifetime usage of HttpClient instances. Recently, I’ve begun digging into gRPC and I’m pleased to see a similar pattern is available for gRPC-based communication. In this […]
Using the BodyReader and BodyWriter in ASP.NET Core 3.0 Utilising System.IO.Pipelines for High-Performance ASP.NET Core 3.0
In this post, I will describe a scenario and potential use case for the BodyReader and BodyWriter properties which are now exposed in ASP.NET Core 3.0 via the HttpContext on the HttpRequest and HttpResponse respectively. Note, that I’m working with these during Preview 6 of the 3.0 release, so things may have changed a little […]