Open gunnim opened 6 years ago
Fire and forget tasks are widely discouraged as asp.net can abruptly halt them when the request has been completely process. (f.x. here and here)
HostingEnvironment.QueueBackgroundWorkItem seems to be the suggested alternative
I'm not farmiliar with ASP, you are welcome to submit a PR if you are able to fix it.
Issue description
Fire and forget tasks are widely discouraged as asp.net can abruptly halt them when the request has been completely process. (f.x. here and here)
HostingEnvironment.QueueBackgroundWorkItem seems to be the suggested alternative