ipn-code-samples icon indicating copy to clipboard operation
ipn-code-samples copied to clipboard

c# sample recommends Task.Run in asp.net

Open gunnim opened this issue 7 years ago • 1 comments

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

gunnim avatar Apr 23 '18 14:04 gunnim

I'm not farmiliar with ASP, you are welcome to submit a PR if you are able to fix it.

overint avatar Apr 25 '18 02:04 overint