Ejemplo n.º 1
0
 /// <summary>
 /// 全局启动事件
 /// </summary>
 protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     // 检查是否要启动回收程序
     AppUtility.StartRecycling(this.Server);
     // BundleConfig.RegisterBundles(BundleTable.Bundles);
 }
 /// <summary>
 /// 全局启动事件
 /// </summary>
 protected void Application_Start()
 {
     MvcHandler.DisableMvcResponseHeader = true;
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     // 检查是否要启动回收程序
     AppUtility.StartRecycling(this.Server);
     // BundleConfig.RegisterBundles(BundleTable.Bundles);
     Application["CRMDATAINDEX"] = 0;
 }