-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
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 previous editions of ASP.NET Core in Action!
-
Using health checks to run async tasks in ASP.NET Core
Running async tasks on app startup in ASP.NET Core - Part 4
In this post I describe an approach to running tasks on startup that uses IHostedService to run the tasks and exposes their status using health checks…
-
Feedback on async task examples and another possible solution
Running async tasks on app startup in ASP.NET Core - Part 3
In this post I discuss some feedback on my previous posts about running async tasks on startup, including why database migrations were a poor example…
-
Two approaches for running async tasks
Running async tasks on app startup in ASP.NET Core - Part 2
In this post I show two approaches for running tasks asynchronously on startup. Each approach allow registering tasks using DI, but have different trade offs…
-
Built in options for running async tasks
Running async tasks on app startup in ASP.NET Core - Part 1
In this post I look at the problem of running one-off tasks asynchronously on app startup in ASP.NET Core, and explore the pros and cons of each option…
-
Running async tasks on app startup in ASP.NET Core
In this series I look at the problem of running one-off tasks asynchronously on app startup. I explore the options and discuss pros and cons of each…
-
Creating singleton named options with IOptionsMonitor
In this post I introduce the IOptionsMonitor interface, and show how you can use it in place of IOptionsSnapshot to create Singleton named options…