start.ashx 370 B

1234567891011121314151617
  1. <%@ WebHandler Language="C#" Class="test" %>
  2. using System;
  3. using System.Web;
  4. public class test : 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. }