這些個東東我都是學習前輩,該說的前輩都已說過了,該做的前輩也已做過了,再弄就是班門弄斧了,還是用圖形來表達我的心得吧
底層呼叫歷程圖:
事件順序圖:
事件順序圖:
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和應用程式定義域之間的橋樑 這是一篇翻譯的文章,很有名的!
http://www.cnblogs.com/RicCC/archive/2007/07/09/ASP-NET-Internals-The-bridge-between-ISAPI-and-Application-Domains.html
9.ASP_NET內幕 - Web頁面是如何在Web伺服器端產生的 這是一篇翻譯的文章,很有名的!
http://www.cnblogs.com/edgar-sun/archive/2007/07/21/826282.html
10.Asp.Net頁面生命週期
11.用三張圖片詳解Asp.Net 全生命週期
12.ASP.NET頁面請求處理
13.Asp.Net生命週期和Http管道技術