摘要:
如果将配置性文件编译为程序集,在执行的时候,它的性能将会高很多。 参看一下, System.Web.HttpApplicationFactory 中方法 CompileApplication() private void CompileApplication() { // Get the Application Type and ... 阅读全文
摘要:
public static HttpContext Current { get { return ContextBase.Current as HttpContext; } set { ContextBase.Current = (object) value; } } ... 阅读全文