摘要:
主要通过IHttpModule的Init事件及缓存的过期回调事件来实现定时执行任务。自定义HttpModule:using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace TimingTasks.Controllers{ public class HttpModule:IHttpModule { public void Init(HttpApplication context) { var tasker = ne... 阅读全文