private void Application_Start(object sender, EventArgs e) { CallBLL.Call(); PageBase.SetCacheByFile("MessageHint"); PageBase.SetCacheByFile("HtmlHeaderHint"); FileCacheHelper.SetConfigCacheByFile(); FileCacheHelper.SetConfigZodiacCacheByFile(); FileCacheHelper.SetConfigLotteryCacheByFile(); MessageQueueConfig.set_folderType(2); MessageQueueConfig.RegisterMessageQueue(); }
private void Application_Start(object sender, EventArgs e) { CallBLL.Call(); PageBase.SetCacheByFile("MessageHint"); PageBase.SetCacheByFile("HtmlHeaderHint"); FileCacheHelper.SetConfigCacheByFile(); FileCacheHelper.SetConfigZodiacCacheByFile(); FileCacheHelper.SetConfigLotteryCacheByFile(); PageBase.SetWebconfigApp(); string str = ConfigurationManager.AppSettings["LogException"]; if (str.Trim() == "true") { MessageQueueConfig.set_folderType(1); MessageQueueConfig.RegisterMessageQueue(); } }