摘要:
首先新建一个一般处理程序(.ashx ),因为一般处理程序是没有经过任何微软封装的处理程序,可以比较明晰的看到服务器对页面的整个解析处理过程,页面默认代码如下:<%@ WebHandler Language="C#" class="Handler" %>using System;using System.Web;public class Handler : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType 阅读全文