// public static ILog log = LogManager.GetLogger(typeof(Global)); void Application_Start(object sender, EventArgs e) { //log4net.Config.DOMConfigurator.Configure(); // GeneralPage.Log("ETEM Application Start at " + DateTime.Now); BaseSettingHelper bsh = new BaseSettingHelper(); bsh.MergeSettingsAll(); Dictionary<string, HttpSessionState> sessionData = new Dictionary<string, HttpSessionState>(); Application[Constants.APPLICATION_ALL_SESSIONS] = sessionData; try { CronProcessHelper cronProcess = new CronProcessHelper(); cronProcess.StartThread(); } catch (Exception ex) { BaseHelper.Log(ex.ToString()); } }
void Application_Start(object sender, EventArgs e) { //log4net.Config.DOMConfigurator.Configure(); Log("Application_Start at " + DateTime.Now.ToString()); //Стартира се синхронизация между кода и базата за нови настройки, параметри и т.н BaseSettingHelper bsh = new BaseSettingHelper(); bsh.MergeSettingsAll(); RegisterRoutes(RouteTable.Routes); }