初识ASP.NET CORE:一、HTTP pipeline

完整的http请求在asp.net framework中的处理流程:

 Asp.Net
HttpRequest-->
HTTP.exe-->
inetinfo.exe(w3wp.exe)->
ASPNET_ISAPI.DLL-->
Http Pipeline-->ASPNET_WP.EXE-->
HttpRuntime.Init-->
HttpRuntime.ProcessRequest-->
ISAPIRuntime.ProcessRequest-->
HttpApplication Factory-->HttpApplication-->
HttpModule-->
HttpHandler Factory-->HttpHandler-->
HttpHandler.ProcessRequest() 
BeginRequest
AuthenticateRequest,PostAuthenticateRequest
AuthorizeRequest,PostAuthorizeRequest
ResolveRequestCache,PostResolveRequestCache
PostMapRequestHandler
AcquireRequestState,PostAcquireRequestState
PreRequestHandlerExecute,PostRequestHandlerExecute
ReleaseRequestState,PostReleaseRequestState
UpdateRequestCache,PostUpdateRequestCache
LogRequest,PostLogRequest
EndRequest

Asp.Net

 Asp.Net MVC
HttpRequest-->
HTTP.exe-->
inetinfo.exe(w3wp.exe)->
ASPNET_ISAPI.DLL-->
Http Pipeline-->
HttpRuntime.Init-->
HttpRuntime.ProcessRequest-->
ISAPIRuntime.ProcessRequest-->
BeginRequest
AuthenticateRequest,PostAuthenticateRequest
AuthorizeRequest,PostAuthorizeRequest
ResolveRequestCache,PostResolveRequestCache
MvcHandler
AcquireRequestState,PostAcquireRequestState
Controllor,Action
View
EndRequest

Asp.Net MVC

 Asp.Net Core
HttpRequest-->
Server-->
HttpApplication-->
MiddleWare(s)(handle features in HttpContext)
MiddleWare(s)(handle features in HttpContext)
MiddleWare(s)(handle features in HttpContext)
(error handling,static file server,authentication,Routing MVC)
.
.
.

Asp.Net Core

初识ASP.NET CORE:一、HTTP pipeline

上一篇:Oracle Dataguard之Real-Time Apply


下一篇:jQuery之换肤与cookie插件