CLASSIC VS INTERGRATED IN IIS 7.0

Classic mode (the only mode in IIS6 and below) is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISAPI extension (aspnet_isapi.dll) and an ISAPI filter (aspnet_filter.dll). IIS just treats ASP.NET as an external plugin implemented in ISAPI and works with it like a black box (and only when it's needs to give out the request to ASP.NET). In this mode, ASP.NET is not much different from PHP or other technologies for IIS. api

經典模式是IIS6.0以及如下版本的惟一工做模式(只工做在ISAPI EXTENSION,ISAPI FILTERS下)。在此種模式下asp.net只是一個分別實現了ISAPI EXTENSION和ISAPI FILTER的插件(aspnet_isapi.dll,aspnet_filter.dll),iis的工做只是將特定的請求轉發給ASP.NET, 與PHP等等寄宿在IIS中的插件別無二致。 asp.net

 

Integrated mode, on the other hand, is a new mode in IIS7 where IIS pipeline is tightly integrated (i.e. is just the same) as ASP.NET request pipeline. ASP.NET can see every request it wants to and manipulate things along the way. ASP.NET is no longer treated as an external plugin. It's completely blended and integrated in IIS. In this mode, ASP.NET HttpModules basically have nearly as much power as an ISAPI filter would have had and ASP.NET HttpHandlers can have nearly equivalent capability as an ISAPI extension could have. In this mode, ASP.NET is basically a part of IIS. ui

然而在集成模式裏,IIS的管道與ASP.NET的請求管道是緊密集成的,ASP.NET能夠徹底控制,訪問整個請求管道。ASP.NET不在做爲一個外部插件,而是徹底集成在IIS中。在此模式下,ASP.NET HTTPMODULE與ISAPI FILTER擁有等同的控制權,ASP.NET HTTPHANDLER與ISAPI EXTENSION擁有等同控制權,換而言之ASP.NET已是IIS的一部分了。 this

相關文章
相關標籤/搜索