如何运行Web服务后台任务? [英] How to run web service background tasks?
本文介绍了如何运行Web服务后台任务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨......
我有一个必须运行预定和连续后台任务的Web服务项目。你认为我必须使用线程或者sdk(Webjobs等)才能做到这一点。
谢谢!!
Hi...
I have a web service project that must run scheduled and continuous background tasks. Do you think I must use threads or maybe sdk's(Webjobs,etc) to do this.
Thank you!!
推荐答案
Web服务是错误的选择。您应该查看使用计划任务,或者您是否在Windows平台上使用Windows服务。
A web service is the wrong choice. You should look at using a scheduled task or if you are on the Windows platform a Windows service.
这篇关于如何运行Web服务后台任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文