??????ASP.NET???
???????????????????????????????????????????????????????????????????????路????????????
?????????????谢???????????????????????????????????????


????ASPNET???????????

????????????????????????校??????????????“????”?????????????????????????????????????????????????????HTTP.SYS???????????????????屑???????????????????????????HTTP.SYS?????????????????“????”???????????????????????????????IIS??
????IIS????????????????????位???????????inetinfo.exe???????????????????W3SVC????windows??????????????????些??????????????????楗桰IS???????????????????????????????????????????????????????????????????????????????????????????????校??煤?????????
???????渭????????w3wp.exe????IIS6?????aspnet_wp.exe?????????泄??????????????????????????????asp.net_wp.exe???????????????械??????????贸???????蟹???????????????????????????????w3wp.exe??????????????????????????????????????位??
??????????????“????”?????????asp.net_isapi.dll????????????????????????“????”???????????????????????????????????????????????asp.net???械????????????????????????????????????????????????ISAPIRuntime????????????????????????????????ISAPIRuntime????ProcessRequest?????PR???????????????????????ecb??????????????????????????????????HttpWorkRequest????????????屑?????????????????HttpRuntime???e??????????????
?????????”??????????危???????????????HttpContext??”???????PR??????HttpWorkRequest?????HttpContext?????????槌�????HttpApplicationFactory???????????槌�??HttpApplication????????????????????????槌�?????????????????槌�??
?????????槌�?????????????????????????????????Global.asax?????????Global.asax?????????????????Application_Start???????楗�??????Application??Start?????????????????????槌�???位?????槌�?????????????械???????????????????贸?????????????????????????????械?IHttpModule?????????????Init?????????init????????????????????????BuidStepManager????????????????????????????????StepManager????
?????????槌�????“????”?????????????????????????????????????????HttpContext??“????”????????????????械?????asp.net????????????????7??????????????IHttpHandler?????????????11??????????懈?????ProcessRequest??????????????????“????”?????????????????????HttpResponse?????????渭????????????????????????路???????????械?11??12????????????????WebForm??Page????????????????????????????????
????????????????????????????????????位???????路??????????????????????????????????????????????
????路????????
???????????????????槌ttpApplication?????????????械?IHttpModule????????渭?????????????????????
????private void InitModules()
????{
????HttpModuleCollection modules = RuntimeConfig.GetAppConfig().HttpModules.CreateModules();
????HttpModuleCollection other = this.CreateDynamicModules();
????modules.AppendCollection(other);
????this._moduleCollection = modules;
????this.InitModulesCommon();
????}
????RuntimeConfig.GetAppConfig().HttpModules.CreateModules();??????写???????????????????????????????????????????????????????????????????????

?????????????add?????System.WebRouting.UrlRoutingModule??????????????????梅???????????????????