コード例 #1
0
ファイル: Global.cs プロジェクト: singlag888/dll
 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();
 }
コード例 #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();
            }
        }