Best way to run a background task in ASP.Net web app and also get feedback?

前端 未结 4 2006
悲&欢浪女
悲&欢浪女 2020-12-16 07:05

I am thinking on the following approach but not sure if its the best way out:

step1 (server side): A TaskMangaer class creates a new thread and start a task.
ste

4条回答
  •  萌比男神i
    2020-12-16 07:38

    Microsoft Message Queuing was built for scenarios like the one you try to solve: http://www.microsoft.com/windowsserver2003/technologies/msmq/default.mspx Windows Communicatio Foundation also has message queuing support. Hope this helps.

    Thomas

提交回复
热议问题