我可以使用wcf而不是Windows服务吗? [英] can I use wcf instead of windows service?

查看:93
本文介绍了我可以使用wcf而不是Windows服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

必须在预定的时间内通过auctomatically创建一个发送短信的应用程序。



日期和时间以及消息存储在数据库中。

Have to create an application for send sms auctomatically for a scheduled time.

Date and time and message is stored in database.

推荐答案

无法安排WCF服务。您可以在WCF中实现您的服务,但是为了安排您需要使用Windows计划任务或Windows服务。



http://stackoverflow.com/questions/7199045/can-wcf-be-auto-scheduled [ ^ ]
there is no way to schedule WCF services. you can implement your services in WCF but for scheduling you need to use Windows Scheduled Tasks or Windows Services.

http://stackoverflow.com/questions/7199045/can-wcf-be-auto-scheduled[^]


请参阅我的评论问题:WCF和Windows服务不是替代品,因此问题的标题没有意义。



对于计划,您可以使用Windows任务计划程序。请参阅我之前的回答:问题窗口服务 [ ^ ]。



-SA
Please see my comment to the question: WCF and Windows Service are not alternatives, so the title of the question does not make sense.

For scheduling, you can use Windows Task Scheduler. Please see my past answer: Problem a Window Services[^].

—SA


这篇关于我可以使用wcf而不是Windows服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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