Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

c# sample recommends Task.Run in asp.net #129

Open
gunnim opened this issue Apr 23, 2018 · 1 comment
Open

c# sample recommends Task.Run in asp.net #129

gunnim opened this issue Apr 23, 2018 · 1 comment

Comments

@gunnim
Copy link

gunnim commented Apr 23, 2018

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

@overint
Copy link
Contributor

overint commented Apr 25, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants