Esempio n. 1
0
        protected void Application_Start()
        {
            ConnectionUtil.Init(WebConfig.SQL_CONNECTION_STRING);
            LookupManager.DoInit();
            Constants.SetFolders(Server.MapPath("~/"));

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
Esempio n. 2
0
        /// <summary>
        /// Applications the start.
        /// </summary>
        protected void Application_Start()
        {
            ConnectionUtil.Init(WebConfig.SQL_CONNECTION_STRING);
            JPushManager.SetKeyInfo(WebConfig.JPUSH_APP_KEY, WebConfig.JPUSH_MASTER_SECRET);
            LookupManager.DoInit();
            Constants.SetFolders(Server.MapPath("~/"));

            CreateTimer();

            AreaRegistration.RegisterAllAreas();

            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }