CLASSIC VS INTERGRATED IN IIS 7.0

1603 ワード

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.
クラシックモードはIIS 6である.0および次のバージョンの唯一の動作モード(ISAPI EXTENSION、ISAPI FILTERSでのみ動作).このモードでasp.NetはISAPI EXTENSIONとISAPI FILTERをそれぞれ実現したプラグイン(aspnet_isapi.dll,aspnet_filter.dll)にすぎず、iisの仕事は特定のリクエストをASP.に転送するだけである.NETは、PHPなどIISに宿るプラグインと変わらない.
 
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 HttpModule s basically have nearly as much power as an ISAPI filter would have had and ASP.NET HttpHandler s can have nearly equivalent capability as an ISAPI extension could have. In this mode, ASP.NET is basically a part of IIS.
しかし集積モードではIISのパイプはASP.NETのリクエストパイプは緊密に統合されており、ASP.NETは完全に制御でき、要求パイプ全体にアクセスできます.ASP.NETは外部プラグインとしてではなく、IISに完全に統合されています.このモードでは、ASP.NET HTTPMODULEはISAPI FILTERと同等の制御権を有し、ASP.NET HTTPHANDLERはISAPI EXTENSIONと同等の制御権を有し、換言ASP.NETはすでにIISの一部です.