- Application_Start //Only occurs when application is loaded
- Application_Init //Only occurs when application is loaded
- Application_BeginRequest
- Application_AuthenticateRequest
- Session_Start
- Page_Control_Init
- Page_Init
- Page_Control_LoadViewState
- Page_ProcessPostData // In Poskback
- Page_Load
- Page_Control_Load
- Page_RaisePostBackEvent // In Postback
- Page_SaveViewState
- Page_Control_SaveViewState
- Page_Control_Render
- Page_Render
- Page_Control_Unload
- Page_Unload
Wednesday, December 22, 2004
ASP.NET 1.1 Application/Page Lifecycle
It's essential to understand the execution lifecycle of ASP.NET. There's probably been plenty written on this topic but I just want to do a quick exercise to make sure the order is correct. So I created a simple page with a user control, and traced each event inside Global.asax and page's code behind. Here's the result:
Tag:
ASP.NET
Subscribe to:
Posts (Atom)