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