Running async tasks on app startup in ASP.NET Core (Part 4 - using health checks)

added by DotNetKicks
1/29/2019 10:39:24 AM

2 Kicks, 237 Views

In this post, I show an approach to running async tasks on app startup which I discounted in my first post in this series, but which Damian Hickey recently expressed a preference for. This approach runs the startup tasks using the IHostedService abstraction, with a health check to indicate when all startup tasks have completed.


0 comments