start.ashx 378 B

12345678910111213141516171819
  1. <%@ WebHandler Language="C#" Class="start" %>
  2. using System;
  3. using System.Web;
  4. public class start : IHttpHandler {
  5. public void ProcessRequest (HttpContext context) {
  6. context.Response.ContentType = "text/plain";
  7. context.Response.Write("开始任务!");
  8. }
  9. public bool IsReusable {
  10. get {
  11. return false;
  12. }
  13. }
  14. }