???? ID: 307985 - ????? ???????: 29 ??????? 2010 - ??????: 4.0 ?????: asp.NET HTTP ??????? ?? HTTP ???????? ?? ??????
?? ????? ?????????? ???? ?? ????? asp.NET HTTP ???? ?? ??? ?????? ????? ?? ??????? ?? HTTP handlers. ???????? asp.NET ???????, ?? ??? ????? Microsoft ???????? ???? ?????: 305140
(http://support.microsoft.com/kb/305140/EN-US/
)
?????: asp.NET Roadmap ???? ???????HTTP ??????? ?? HTTP handlers asp.NET ??????????? ?? ?? ?????? ?????? ???? ?????? ?? ??????? ???? ?? ??? ??, ?? ?? ?????? (?????? ?? ??? ??????? ??????? ?? ???? ???????) ?? ?? ???? HTTP ??????? ?????? ??????? ???? ?? ?? ?? ???? ??? HTTP ?????? ?????? ??????? ??? ?????? ?????? ?? ??????? ??, ?? ??? ???? ?? HTTP ?????? flows ???????? ?? ???? ?? ????? ???????? ??? ??????? ??: HTTP ?????????????? before ?? ????????? ???? ?? ?????? ?? ??? ??? ???? ??? ??????? intercept ??? ???, ?? ???????? ???-??? ?????? ?? ??????? ???? ?? ??? ???????? ????? ??? ??????? ???????????IHttpModule????????, ??? ????? ?? ??System.Web??? ????? ????????? ??????????HttpApplication???? ?? ????? ?? ?? ??? ??????? ?????????? ???? ?? ??? ?????? ???? ??? ????? ????? ??????? ?? ???????? ?????? ?? ??? ??????????? ???? ?? ??? ?????? ???? ?? ?????? ?? ?????? ???? ??? ???????? ???:
Configuring HTTP ModulesThe <httpmodules> configuration section handler is responsible for configuring the HTTP modules within an application. It can be declared at the computer, site, or application level. Use the following syntax for the <httpmodules> section handler: </httpmodules></httpmodules>Creating HTTP ModulesTo create an HTTP module, you must implement theIHttpModuleinterface. TheIHttpModuleinterface has two methods with the following signatures:308000
(http://support.microsoft.com/kb/308000/EN-US/
)
HOW TO: Create an ASP.NET HTTP Module by Using Visual Basic .NET 307996
(http://support.microsoft.com/kb/307996/EN-US/
)
HOW TO: Create an ASP.NET HTTP Module by Using Visual C# .NET HTTP HandlersHandlers are used to process individual endpoint requests. Handlers enable the ASP.NET framework to process individual HTTP URLs or groups of URL extensions within an application. Unlike modules, only one handler is used to process a request. All handlers implement theIHttpHandlerinterface, which is located in theSystem.Web??? ????? ??? Handlers are somewhat analogous to Internet Server Application Programming Interface (ISAPI) extensions.Configuring HTTP HandlersThe <httphandlers> configuration section handler is responsible for mapping incoming URLs to the </httphandlers>IHttpHandler??,IHttpHandlerFactory????? It can be declared at the computer, site, or application level. Subdirectories inherit these settings.Administrators use the <add> tag directive to configure the <httphandlers> section. <add> directives are interpreted and processed in a top-down sequential order. Use the following syntax for the <httphandler> section handler: </httphandler></add></httphandlers></add> Creating HTTP HandlersTo create an HTTP handler, you must implement theIHttpHandlerinterface. TheIHttpHandlerinterface has one method and one property with the following signatures:308001
(http://support.microsoft.com/kb/308001/EN-US/
)
HOW TO: Create an ASP.NET HTTP Handler by Using Visual C# .NET For additional information, click
the article numbers below to view the articles in the Microsoft Knowledge Base:307997
(http://support.microsoft.com/kb/307997/EN-US/
)
HOW TO: Create an ASP.NET HTTP Handler by Using Visual Basic .NET
???? ?????? ??????????????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:307985
(http://support.microsoft.com/kb/307985/en-us/
)
| ???? ?????? ???? ?????? ??????
????????? ?????? ??????? ???????? ??????
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

????? ?? ???? ????
