示例#1
0
 protected override void Application_Start()
 {
     base.Application_Start();
     PKSWebBootstrapper.Kernel = SiteManager.Kernel;
     s_Bootstrapper.Initialize();
     PKSMvcConfig.RegisterGlobalFiltersForPortalMgmt(GlobalFilters.Filters);
     PKS.Core.Bootstrapper.Get <ILog>().Info(nameof(Application_Start));
 }
示例#2
0
 /// <summary>启动</summary>
 protected virtual void Application_Start()
 {
     s_Bootstrapper.Initialize();
     PKSMvcConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     PKS.Core.Bootstrapper.Get <ILog>().Info(nameof(Application_Start));
 }