摘要: 我们经常会在网站中加一些定时执行的任务,比如生成静态页、执行邮件发送等。 可以通过在Global.asax中这样设置来实现。 void Application_Start(object sender, EventArgs e) { // 在应用程序启动时运行的代码 System.Timer... 阅读全文
posted @ 2013-03-20 15:03 fogwu 阅读(384) 评论(0) 推荐(0)