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 describe the changes to dependency injection in your Startup class when upgrading an ASP.NET Core 2.x app to .NET Core 3.0.…
In this post I describe how a small change in the ASP.NET Core 3.0 WebHost makes it easier to run asynchronous tasks on app startup using IHostedService…
In this post I describe the ValidateOnBuild feature that is new to .NET Core 3.0. I also show five gotchas to look out for that the DI validator will miss.…
In this post I describe how to run Quartz.NET jobs using an ASP.NET Core hosted service, and how to handle scoped services inside singleton jobs.…
In this post I show a startup task that pre-builds all the services registered in the DI container to reduce the duration of the first request to the app.…
Stay up to the date with the latest posts!