asp.net底層架構學習筆記(IIS5/6/7處理模型,HttpRuntime,HttpContext,HttpApplication,HttpModel,HttpHandler…)As

來源:互聯網
上載者:User

 

這些個東東我都是學習前輩,該說的前輩都已說過了,該做的前輩也已做過了,再弄就是班門弄斧了,還是用圖形來表達我的心得吧

底層呼叫歷程圖:

 

 

事件順序圖:

事件順序圖:

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管道技術

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.