Can't cancel task in Asp.net core Action

允我心安 提交于 2019-12-10 13:15:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!