读懂Dottext0.95源码,只需三板斧。
1:程序读Web.config,使用Dottext.Framework.Util.XmlSerializerSectionHandler添充HandlerConfiguration.cs和BlogConfigurationSettings.cs。
2:handler分配,请看UrlReWriteHandlerFactory.cs,程序流程控制
3:显示模板 PageTemplate.ascx,HomePage.ascx,MasterPage.cs动态调入*.aspx
希望能抛砖引玉,欢迎交流
转载于:https://www.cnblogs.com/zputee/archive/2005/06/27/182072.html