- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Controlling IHostedService execution order in ASP.NET Core 3.x
In this post I show how to control whether your IHostedService runs before or after the GenericWebHostService starts the Kestrel HTTP server…

DI scopes in IHttpClientFactory message handlers don't work like you think they do
In this post I discuss how handler DI scopes work in IHttpClientFactory, and how they're different to the request DI scope.…

Exploring the code behind IHttpClientFactory in depth
In this post I look in depth at the code behind the default implementation of IHttpClientFactory and see how it manages HttpClient handler lifetimes.…

Detecting duplicate routes in ASP.NET Core
Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 5
In this post I show how you can use a unit test to identify duplicate routes that would fail at runtime…

Creating a custom endpoint visualization graph
Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 4
In this post I show how you can create custom endpoint graphs for your application to better understand the routes used in your application.…

Creating a custom DfaGraphWriter using ImpromptuInterface for easier reflection
Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 3
In this post I show how you can use the library ImpromptuInterface to make it easier to call internal classes using reflection.…

