19 Events for ASP. NET page life-Cycle request pipeline

Source: Internet
Author: User
Tags httpcontext

Httpcontext:ecb→httpworkerrequest→httpcontext

HttpApplicationFactory. After obtaining the HttpApplication instance.

(1) BeginRequest: Start processing requests

(2) AuthenticateRequest Authorization authentication request, obtaining user authorization information

(3):P Ostauthenticaterequest for success

(4): Aunthorizerequest authorization, general to check whether the user is granted permission

(5):P ostauthorizerequest: Get authorization

(6): Resolverequestcache: Get page Cache results

(7):P Ostresolverequestcache has obtained cache current request mapping to Mvchandler (PR): Create controller factory, create controller, invoke action execution, view→response

Action HANDLER:PR ()

(8):P Ostmaprequesthandler Create a Page object: Creates a Handler instance that ultimately handles the current HTTP request: First gets the current PR Handler from HttpContext, create

(9):P Reacquirerequeststate get session

(10) Postacquirerequeststate Get session

(11) PreRequestHandlerExecute: Preparing the ProcessRequest method for executing page objects

(12) PostRequestHandlerExecute finished executing the Page object

(13) ReleaseRequestState Release Request Status

(14) Postreleaserequeststate The request status has been released

(15) Updaterequestcache Update Cache

(16) Postupdaterequestcache Cache has been updated

(17) Logrequest Log Records

(18) Postlogrequest completed Log

(19) EndRequest completed,

19 Events for ASP. NET page life-Cycle request pipeline

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.