#IHttpHandler

IHttpHandler

DefinesthecontractthatASP.NETimplementstosynchronouslyprocessHTTPWebrequestsusingcustomHTTPhandlers. YoucanwritecustomHTTPhandlerstoprocessspecific,predefi...
代码星球 ·2021-02-08

IHttpHandler IHttpModule

ASP.Net处理HttpRequest时,使用Pipeline(管道)方式,由各个HttpModule对请求进行处理,然后到达HttpHandler,HttpHandler处理完之后,仍经过Pipeline中各个HttpModule的处理,最后将HTML发送到客户端浏览器中。HttpModule会在页面处理前和后对页...
代码星球 ·2020-08-09