![C# Asynchronous programming: Cancel your tasks when you no longer need them. | by Luis Rodrigues | Medium C# Asynchronous programming: Cancel your tasks when you no longer need them. | by Luis Rodrigues | Medium](https://miro.medium.com/proxy/1*kLSSra4_E5b6wbKAO8AQog.png)
C# Asynchronous programming: Cancel your tasks when you no longer need them. | by Luis Rodrigues | Medium
![David Fowler 🇧🇧🇺🇸 on Twitter: "Async tip don't https://t.co/ehPTQPHXu1 for long running work that blocks the thread. You'll be blocking a thread pool thread. Instead, use Task.Factory.StartNew with TaskCreationOptions.LongRunning or spawn a David Fowler 🇧🇧🇺🇸 on Twitter: "Async tip don't https://t.co/ehPTQPHXu1 for long running work that blocks the thread. You'll be blocking a thread pool thread. Instead, use Task.Factory.StartNew with TaskCreationOptions.LongRunning or spawn a](https://pbs.twimg.com/media/Do98fVjXkAI_O_M.jpg)
David Fowler 🇧🇧🇺🇸 on Twitter: "Async tip don't https://t.co/ehPTQPHXu1 for long running work that blocks the thread. You'll be blocking a thread pool thread. Instead, use Task.Factory.StartNew with TaskCreationOptions.LongRunning or spawn a
![Using health checks to run async tasks in ASP.NET Core: Running async tasks on app startup in ASP.NET Core - Part 4 Using health checks to run async tasks in ASP.NET Core: Running async tasks on app startup in ASP.NET Core - Part 4](https://andrewlock.net/content/images/2019/health_checks_diagram.png)