Recently, I have been learning the life cycle of ASP. ASP. NET MVC is built on the ASP. So many processes in the ASP. NET WebForm, such as pipeline events, for ASP. MVC also applies. Just the MVC urlrouting module intercepts the request to enter the server, and then makes a special deal with the handler of the request. In summary, it is ASP. NET pipeline is the basis for all ASP. Applicaiton, including WebForm, MVC, which is the difference between the final use of IHttpHandler. The use of the page in WebForm is mvchander in this HANDLER,MVC.
First, learn more about the life cycle of the ASP. The following three graphs are very detailed and go to three pictures to explain the whole life cycle of ASP.
Description
1 First picture from the global description a request is sent from the client, and the HTTP. SYS component in the server Windows kernel receives the request to start until IIS finishes processing the request and responds to the end of the client.
2 The second picture is the detailed steps for the HTTP processing pipeline in Figure 1
3 The third picture is the detailed life-cycle process of the call handler (HttpHandler, here the Page object) in the processing pipeline in Figure 2Http.
Figure 1:
Figure 2:http Processing the pipeline detailed
Figure 3:asp.net Life cycle Details (WebForm)
Asp. NET life cycle details [go]