摘要: 如果将配置性文件编译为程序集,在执行的时候,它的性能将会高很多。 参看一下, System.Web.HttpApplicationFactory 中方法 CompileApplication() private void CompileApplication() { // Get the Application Type and ... 阅读全文
posted @ 2015-01-29 15:33 张保维 阅读(227) 评论(0) 推荐(0) 编辑
摘要: public static HttpContext Current { get { return ContextBase.Current as HttpContext; } set { ContextBase.Current = (object) value; } } ... 阅读全文
posted @ 2015-01-29 10:23 张保维 阅读(245) 评论(0) 推荐(0) 编辑