標籤:process hand 許可權 釋放 載入 ica begin exe net
請求管道中的19個事件.
(1)BeginRequest: 開始處理請求
(2)AuthenticateRequest授權驗證請求,擷取使用者授權資訊
(3):PostAuthenticateRequest擷取成功
(4): AunthorizeRequest 授權,一般來檢查使用者是否獲得許可權
(5):PostAuthorizeRequest:獲得授權
(6):ResolveRequestCache:擷取頁面緩衝結果
(7):PostResolveRequestCache 已擷取緩衝 當前請求映射到MvcHandler(pr): 建立控制器工廠 ,建立控制器,調用action執行,view→response
//action Handler : PR()
(8):PostMapRequestHandler 建立頁面對象:建立 最終處理當前http請求的 Handler 執行個體: 第一從HttpContext中擷取當前的PR Handler ,Create
(9):PreAcquireRequestState 擷取Session
載入Session
(10)PostAcquireRequestState 獲得Session
(11)PreRequestHandlerExecute:準備執行頁面對象執行頁面對象的ProcessRequest方法
(12)PostRequestHandlerExecute 執行完頁面對象了
(13)ReleaseRequestState 釋放請求狀態
(14)PostReleaseRequestState 已釋放請求狀態
(15)UpdateRequestCache 更新緩衝
(16)PostUpdateRequestCache 已更新緩衝
(17)LogRequest 日誌記錄
(18)PostLogRequest 已完成日誌
(19)EndRequest 完成、
Asp.Net請求管道中的19個事件