If you’ve ever used ASP.NET Core, then you’ll likely be familiar with the Startup class. This class, by convention, includes at least one method named Configure. Often, a ConfigureServices method is also included and used to register services with the Microsoft dependency injection container, but this isn’t an absolute requirement. The configure method is where […]
Tag: ASP.NET Core

Building ASP.NET Core Hosted Services and .NET Core Worker Services
I’m excited to announce the release of my third and latest course at Pluralsight! This new course covers building ASP.NET Core hosted services and .NET Core worker services. When I first pitched the course proposal to Pluralsight, I was quite surprised that it hadn’t been covered in great detail already. In my daily work, building .NET […]

Health Checks with gRPC and ASP.NET Core 3.0
In this post, we will explore a couple of options to apply health checks to your gRPC server running on ASP.NET Core 3.0. Health checks are a common requirement. In particular, in containerised environments, they are required so that the container orchestrator and load balancers know which services are actually functioning. This post is part […]

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 […]

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 […]