问题
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.
回答1:
As I know this is known issue and doesn't fixed yet. See more details on ANCM project page.
来源:https://stackoverflow.com/questions/50702303/cant-cancel-task-in-asp-net-core-action