如何在ASP.NET C#中调度方法? [英] how to schedule method in asp.net c#?

查看:60
本文介绍了如何在ASP.NET C#中调度方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有人,
在我的asp.net c#Web应用程序中,我想安排一些将来的方法.确切的要求是要为特定的日期和时间安排短信.我现在可以通过短信门方式发送短信,但希望根据用户需要调用该方法.

怎么可能呢?请帮忙...

在此先谢谢您..

ho to all,
in my asp.net c# web application , I want to schedule some method for future. Exact requirement is that want to schedule sms for particular date and time. I can send sms by sms gate way now but want to call that method as user want.

How its possible? please help ...

Thanks in advance..

推荐答案

Windows服务!应该可以满足您的要求.

样本:
发送自动电子邮件警报的简单Windows服务 [ Windows服务应用程序简介 [
Windows Service! should do what you seek.

Sample:
Simple Windows Service which sends auto Email alerts[^]

MSDN: Details about Windows Service:
Introduction to Windows Service Applications[^]


For sending SMS, you can use similar logic as present for emails above.


这篇关于如何在ASP.NET C#中调度方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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