Running async tasks on app startup in ASP.NET Core (Part 2)

added by DotNetKicks
1/15/2019 10:29:31 AM

2 Kicks, 290 Views

In my previous post I described the need to run one-off asynchronous tasks on app start up. This post follows on directly from the last one, so if you haven't already, I suggest you read that one first. In this post I show a proposed adaptation of the "run the task manually in program.cs" approach from my last post.