底层调用关系图:
事件顺序图:
事件顺序图:
HttpApplication | Page | Control |
BeginRequest | ||
AuthenticateRequest | ||
DefaultAuthentication | ||
PostAuthenticateRequest | ||
AuthorizeRequest | ||
PostAuthorizeRequest | ||
ResolveRequestCache | ||
PostResolveRequestCache | ||
MapHttpHandler | Construct | |
PostMapRequestHandler | ||
AcquireRequestState (Session) | ||
PostAcquireRequestState | ||
PreRequestHandlerExecute | ||
CallHandler | PreInit | |
Init | Init | |
InitComplete | ||
在此加载控件状态与视图状态 | ||
PreLoad | ||
Load | Load | |
再次加载控视图状态(可用于动态生成控件) | ||
LoadComplete | ||
PreRender | PreRender | |
PreRenderComplete | PreRenderComplete | |
SaveStateComplete | SaveStateComplete | |
RenderControl | RenderControl | |
UnLoad | ||
PostRequestHandlerExecute | ||
ReleaseRequestState (Session) | ||
PostReleaseRequestState | ||
CallFilter -- Response.FilterOutput | ||
UpdateRequestCache | ||
PostUpdateRequestCache | ||
EndRequest | ||
PreSendRequestHeaders | ||
PreSendRequestContent |
应用程序池,应用程序域,进程,线程图:
再附上所参考的文章,他们都是前辈,讲的都比我好:
1.了解ASP.NET底层架构 可以从网上下载到此文的Word,这是一篇翻译的文章,很有名的!
2.ASP.NET Framework深度历险 可以从网上下载到此文的PDF,可以看一看
3.HttpModule与HttpHandler详解:
http://hi.baidu.com/zeratul_bb/blog/item/54db48d9bde028e138012f74.html
4.AspNet2.0页面生命周期
http://www.cnblogs.com/c2303191/articles/1110405.html
5.WCF技术剖析之二:再谈IIS与ASP.NET管道
http://www.cnblogs.com/artech/archive/2009/06/20/1507165.html
6. 一些比较值得思考和了解的.NET相关的面试题
http://blog.csdn.net/zhoufoxcn/archive/2010/08/30/5850658.aspx
7.ASP.NET内幕 - IIS处理模型 这是一篇翻译的文章,很有名的!
http://www.cnblogs.com/RicCC/archive/2007/07/08/ASP-NET-Internals-IIS-and-the-Process-Model.html
8. ASP.NET内幕 - ISAPI和应用程序域之间的桥梁 这是一篇翻译的文章,很有名的!
9.ASP_NET内幕 - Web页面是如何在Web服务器端产生的 这是一篇翻译的文章,很有名的!
http://www.cnblogs.com/edgar-sun/archive/2007/07/21/826282.html