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

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....