My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I look at some of the code behind WebApplication, and focus on how the middleware and endpoints are configured…
In this post I show how to control whether your IHostedService runs before or after the GenericWebHostService starts the Kestrel HTTP server…
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.…
In this post I introduce the new IHostLifetime interface and look at the interactions involved in the ASP.NET Core generic host startup and shutdown processes…
In this post I introduce the Serilog.Extensions.Hosting package, discuss why it's necessary, and describe how to use it to add Serilog to a generic host app…
In this post I discuss the generic host introduced in ASP.NET Core 2.1, and how its different namespace can cause problems for existing code.…
Stay up to the date with the latest posts!