Beispiel #1
0
 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();
 }
Beispiel #2
0
        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();
            }
        }