在ASP.NET中运行后台作业 [英] Run a background job in ASP.NET

查看:59
本文介绍了在ASP.NET中运行后台作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我遇到需要从aspx页面提交作业的情况.该页面需要在提交作业后立即终止,并且该作业应在后台运行,一旦完成,电子邮件将发送给用户.

请同样指导我.

在此先感谢!!



问候,
Divya

Hi,

I have a situation where I need to submit a job from aspx page. The page needs to be terminated as soon as it submits the job and the job should run in background and once done emails will be send to the users.

Please guide me for the same.

Thanks in advance !!



Regards,
Divya

推荐答案

使用ASP.NET后台工作程序.它在后台启动进程.
例如,请参考:
http://www.dotnetfunda.com/articles/article613 -background-processes-in-asp-net-web-applications-.aspx [
Use ASP.NET Background worker. It starts process in background.
For example refer to:
http://www.dotnetfunda.com/articles/article613-background-processes-in-asp-net-web-applications-.aspx[^]


检查
Check this[^] discussion out as well.


这篇关于在ASP.NET中运行后台作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆