- 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.

Using PathBase with .NET 6's WebApplicationBuilder
In this post I describe the difficulties of adding calls to UsePathBase with .NET 6 WebApplication programs, and describe two approaches to work around it…

Supporting integration tests with WebApplicationFactory in .NET 6
Exploring .NET 6 - Part 6
In this post I look at the changes that were made to WebApplicationFactory<T> to support minimal hosting APIs with WebApplicationBuilder in .NET 6…

Supporting EF Core migrations with WebApplicationBuilder
Exploring .NET 6 - Part 5
In this post I describe how HostBuilder had to be updated to support the EF Core tools after the introduction of WebApplication and WebApplicationBuilder…

Building a middleware pipeline with WebApplication
Exploring .NET 6 - Part 4
In this post I look at some of the code behind WebApplication, and focus on how the middleware and endpoints are configured…

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…

Extending the shutdown timeout setting to ensure graceful IHostedService shutdown
In this post I describe a problem where you get an exception when shutting down an app that used IHostedService, when the service takes too long to shut down.…

