I am trying to cancel Task running in Asp.net Core Action. For that I am using this github sample. I can cancel task if running service in console, but if I run under IIS (or IIS Express) task is not canceling. I saw similar issue in other question. Based on it issue should be fixed already. I am using .Net core 2.1.
Can't cancel task in Asp.net core Action
Asked Answered
As I know this is known issue and doesn't fixed yet. See more details on ANCM project page.
I was hoping this is fixed after 2 years :) Thanks for response. –
Furiya
Push MS team once more to be more productive :) –
Rodie
Same issue here: #50110601 . I asked the MS team about it as well...tumbleweeds. –
Amerson
:( we still need to fix this –
Pending
© 2022 - 2024 — McMap. All rights reserved.
HttpContext.RequestAborted
to your async methods (its an cancellation token). If not how oyu intend user to cancel it? – Stockdale