UploadImage.ashx.cs 565 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace CB.Admin.Plugins.Basic
  6. {
  7. /// <summary>
  8. /// UploadImage 的摘要说明
  9. /// </summary>
  10. public class UploadImage : IHttpHandler
  11. {
  12. public void ProcessRequest(HttpContext context)
  13. {
  14. context.Response.ContentType = "text/plain";
  15. context.Response.Write("Hello World");
  16. }
  17. public bool IsReusable
  18. {
  19. get
  20. {
  21. return false;
  22. }
  23. }
  24. }
  25. }