在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
本文从两个粒度对Asp.net生命周期做了展示,一是通过记录页面事件的触发顺序看请求的处理流程,一是通过Reflector看Page类内部对请求处理的实现,为了清晰我清理掉了ETW相关的代码保留了一个简化却足可以说明问题的流程骨架; 本文覆盖以下内容:
1using System;
2using System.Configuration; 3using System.Data; 4using System.Web; 5using System.Web.Security; 6using System.Web.UI; 7using System.Web.UI.HtmlControls; 8using System.Web.UI.WebControls; 9using System.Web.UI.WebControls.WebParts; 10 11public partial class _Default : System.Web.UI.Page 12
Page_PreInit Page_Init Page_InitComplete Page_PreLoad Page_Load Page_LoadComplete Page_PreRender Page_SaveStateComplete
Page_PreInit Page_Init Page_InitComplete Page_PreLoad Page_Load Button事件触发! Page_LoadComplete Page_PreRender Page_SaveStateComplete |
请发表评论