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. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I look at the problems you can hit with strongly-typed settings when you inject Scoped services into OptionsBuilder, and how to avoid them…
In this post I talk about some of the new features added to the DI libraries in .NET 6, as well a performance feature that didn't make it in.…
In this post I show how to run Quartz.NET jobs in ASP.NET Core and worker service apps using the Quartz.Extensions.Hosting package…
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 discuss how handler DI scopes work in IHttpClientFactory, and how they're different to the request DI scope.…
In this post I look in depth at the code behind the default implementation of IHttpClientFactory and see how it manages HttpClient handler lifetimes.…
Stay up to the date with the latest posts!