QueueBackgroundWorkItem to reliably schedule and run background processes in ASP.NET
Stack Overflow is loaded with questions on how to reliably run a resource-intensive process on a background thread. See so0, so1, so2, so3, so4, so5, so6, so7, so8, so9, so10 . Examples of long-running tasks include sending email, image processing, and generating a PDF file. When Phil Haack was a program manager on the ASP.NET MVC team, he wr...