ASP.NET·????????
???????????? ???????[ 2016/3/8 11:31:47 ] ??????????????????? .NET
??????ASP.NET???
???????????????????????????????????????????????????????????????????????·????????????
?????????????л???????????????????????????????????????
????ASPNET???????????
????????????????????????У??????????????“????”?????????????????????????????????????????????????????HTTP.SYS???????????????????м???????????????????????????HTTP.SYS?????????????????“????”???????????????????????????????IIS??
????IIS????????????????????λ???????????inetinfo.exe???????????????????W3SVC????windows??????????????????Щ??????????????????饗IIS???????????????????????????????????????????????????????????????????????????????????????????????У??ú?????????
???????μ????????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????????????????????????????????
????????????????????????????????????λ???????·??????????????????????????????????????????????
????·????????
???????????????????鳤HttpApplication?????????????е?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??????????????????÷???????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11