摘要:
其实所谓的页面生命周期就是Page的ProcessRequestMain方法中顺序调用了一些方法。private void ProcessRequestMain(bool includeStagesBeforeAsyncPoint, bool includeStagesAfterAsyncPoint){ try { HttpContext context = this.Context; string str = null; if (includeStagesBeforeAsyncPoint) { if (... 阅读全文
摘要:
下面讨论一下MapHandlerExecutionStep和CallHandlerExecutionStepCallHandlerExecutionStep作用很简单,就是去调用通过MapHandlerExecutionStep找到的HttpHandlerinternal class CallHandlerExecutionStep : HttpApplication.IExecutionStep{ // Fields private HttpApplication _application; private AsyncCallback _completionCallback... 阅读全文