ASP.NET 2.0 page lifecyle页面生命周期

ASP.NET 2.0 page lifecyle

ASP.NET 2.0 event sequence changed a lot since 1.1. Here is the order:

 Application: BeginRequest

Application: PreAuthenticateRequest

Application: AuthenticateRequest

Application: PostAuthenticateRequest

Application: PreAuthorizeRequest

Application: AuthorizeRequest

Application: PostAuthorizeRequest

Application: PreResolveRequestCache

Application: ResolveRequestCache

Application: PostResolveRequestCache

Application: PreMapRequestHandler

Page: Construct

Application: PostMapRequestHandler

Application: PreAcquireRequestState

Application: AcquireRequestState

Application: PostAcquireRequestState

Application: PreRequestHandlerExecute

Page: AddParsedSubObject

Page: CreateControlCollection

Page: AddedControl

Page: AddParsedSubObject

Page: AddedControl

Page: ResolveAdapter

Page: DeterminePostBackMode

Page: PreInit

Control: ResolveAdapter

Control: Init

Control: TrackViewState

Page: Init

Page: TrackViewState

Page: InitComplete

Page: LoadPageStateFromPersistenceMedium

Control: LoadViewState

Page: EnsureChildControls

Page: CreateChildControls

Page: PreLoad

Page: Load

Control: DataBind

Control: Load

Page: EnsureChildControls

Page: LoadComplete

Page: EnsureChildControls

Page: PreRender

Control: EnsureChildControls

Control: PreRender

Page: PreRenderComplete

Page: SaveViewState

Control: SaveViewState

Page: SaveViewState

Control: SaveViewState

Page: SavePageStateToPersistenceMedium

Page: SaveStateComplete

Page: CreateHtmlTextWriter

Page: RenderControl

Page: Render

Page: RenderChildren

Control: RenderControl

Page: VerifyRenderingInServerForm

Page: CreateHtmlTextWriter

Control: Unload

Control: Dispose

Page: Unload

Page: Dispose

Application: PostRequestHandlerExecute

Application: PreReleaseRequestState

Application: ReleaseRequestState

Application: PostReleaseRequestState

Application: PreUpdateRequestCache

Application: UpdateRequestCache

Application: PostUpdateRequestCache

Application: EndRequest

Application: PreSendRequestHeaders

Application: PreSendRequestContent




参考资源:
http://msdn2.microsoft.com/en-us/library/ms178473.aspx
Application, Page and Control events in ASP.NET v2.0
http://weblogs.asp.net/jeff/archive/2004/07/04/172683.aspx

ASP.NET Page Life Cycle Overview
http://msdn2.microsoft.com/en-us/library/ms178472(vs.80).aspx

Events in ASP.NET Master and Content Pages 
http://msdn2.microsoft.com/en-us/library/dct97kc3.aspx

ASp.NET 2.0中Page事件的执行顺序
http://hi.baidu.com/microboat/blog/item/c421572c752931ed8b13998e.html

ASP.NET Application Life Cycle Overview 
http://msdn2.microsoft.com/en-us/library/ms178473(vs.80).aspx

http://blog.joycode.com/saucer/archive/2005/09/06/63004.aspx

http://blog.chinaunix.net/u1/34605/showart_321184.html
ASP.NET 2.0 中的异步页面
http://msdn.microsoft.com/msdnmag/issues/05/10/WickedCode/Default.aspx?loc=zh

相关文章

这篇文章主要讲解了“WPF如何实现带筛选功能的DataGrid”,文...
本篇内容介绍了“基于WPF如何实现3D画廊动画效果”的有关知识...
Some samples are below for ASP.Net web form controls:(fr...
问题描述: 对于未定义为 System.String 的列,唯一有效的值...
最近用到了CalendarExtender,结果不知道为什么发生了错位,...
ASP.NET 2.0 page lifecyle ASP.NET 2.0 event sequence cha...