Пример #1
0
 void Application_BeginRequest(object sender, EventArgs e)
 {
     TCwebConfig.Init();
     if (!InstallerHelper.ConnectionStringIsSet())
     {
         // InstallerHelper.RedirectToInstallationPage();
     }
 }
Пример #2
0
        void Application_Start(object sender, EventArgs e)
        {
            // 在应用程序启动时运行的代码

            TCwebConfig.Init();
            if (InstallerHelper.ConnectionStringIsSet())
            {
                IoC.InitializeWith();

                //initialize task manager
                //  TaskManager.Instance.Initialize(TCwebConfig.ScheduleTasks);
                //  TaskManager.Instance.Start();
            }
        }