码迷,mamicode.com
首页 > Web开发 > 详细

IHttpHandler

时间:2019-06-20 12:50:50      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:red   extension   any   values   framework   sse   serve   link   isa   

https://docs.microsoft.com/en-us/dotnet/api/system.web.ihttphandler?view=netframework-4.8

Defines the contract that ASP.NET implements to synchronously process HTTP Web requests using custom HTTP handlers.

 

Remarks

You can write custom HTTP handlers to process specific, predefined types of HTTP requests in any Common Language Specification (CLS) compliant language.

Executable code defined in the HttpHandler classes, rather than conventional ASP or ASP.NET Web pages, responds to these specific requests.

HTTP handlers give you a means of interacting with the low-level request and response services of the IIS Web server and provide functionality much like ISAPI extensions but with a simpler programming model.

If your handler will access session state values, it must implement the IRequiresSessionState interface (a marker interface with no methods).

 

IHttpHandler

标签:red   extension   any   values   framework   sse   serve   link   isa   

原文地址:https://www.cnblogs.com/chucklu/p/11057796.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!