1.beginrequestasp.net begins processing the first event of the pair, indicating the start of the process. 2.AuthenticateRequest authentication request, generally used to go to the requested user information 3. Postauthenticaterequest has obtained the requested user information 4.AuthorizeRequest authorization, generally used to check whether the user's request is getting permission 5.PostAuthorizeRequest user request has been authorized 7.PostResolveRequ Estcache has completed cache fetch work 8.PostMappRequestHandler has created an object that processes the request processor, based on the user's request. 9.AcquireRequestState the status of the request is made, General user Session10.postacquirerequeststate has made Session11.prerequesthandlerexecute ready to execute the handler.  11, 12 pipeline events begin to enter the page life cycle (Page class) ① perform a generic handler or a page's PR method ② Create a control tree: _buildercontroltree internal is to create the entire page control tree structure, if it is normal C # code, will be compiled into a method body. ③ determines whether the current request is a postback, ispostback by ViewState, if Viewstate④preinit () Initializes an event Init () Actual output: A new instance of the control on the control tree and assigns a default value. Inside the Init method is the execution of a recursive initialization. Initcomplete⑤ Load ViewState load the status of the page, resolve Viewstate⑥processpostdata in the hidden domain to process postback data 1. Compare the data submitted by the form with the original state on the control, and then place the control that needs to trigger the change into a collection. 2. Assign values from the form to the control. ⑦ page Load preload (this is where the event was last changed before the incident response) load (pageload) ⑧processpostdata: The second time the postback data is processed. Again the control that will trigger the change event is put in the collection again. ⑨ event that triggers a changed event Loadcomplete⑩ trigger postback back control? Prerend (The renderingPre) rendering: Is the server-side control converted to HTML code, which is the last time you can change the response to be sent to the client? Page rendering. 12. Postrequesthandler has executed the status of the handler 13.ReleaseRequestState release request 14.PostReleaseRequestState has released the requested status 15.UpdateRequestCache update cache 16.P Ostupdaterequestcache has updated the log operation for cache 17.LogRequest requests 18.PostLogRequest has completed the requested log operation 19.EndRequest this request processing completed
Request pipeline with 19 standard events