QueueBackgroundWorkItem to reliably schedule and run background processes in ASP.NET

added by Paul Wheeler
6/17/2014 12:57:06 PM

2 Kicks, 88 Views

QBWI schedules a task which can run in the background, independent of any request. This differs from a normal ThreadPool work item in that ASP.NET automatically keeps track of how many work items registered through this API are currently running, and the ASP.NET runtime will try to delay AppDomain shutdown until these work items have finished executing.


0 comments