Esempio n. 1
0
        protected void Application_Start()
        {
            AppServiceFactory.RegisterServices();
            AppServiceFactory.RegisterServicesFromAssembly(Chloe.Application.CurrentAssembly.Value);

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
Esempio n. 2
0
        protected void Application_Start()
        {
            //throw new BigBigException("由于您未给博主点赞,博主伤心的向您抛了个大大的异常");

            AppServiceFactory.RegisterServices();

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
Esempio n. 3
0
        protected void Application_Start()
        {
            throw new BigBigException("由于您未给博主点赞,博主伤心的向您抛了个大大的异常");

            AppServiceFactory.RegisterServices();
            AppServiceFactory.RegisterServicesFromAssembly(Chloe.Application.CurrentAssembly.Value);

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
Esempio n. 4
0
        protected void Application_Start()
        {
            System.Timers.Timer myTimer = new System.Timers.Timer(10000);
            myTimer.Elapsed += new System.Timers.ElapsedEventHandler(TimeExecuteTask);
            myTimer.Interval = 10000;
            myTimer.Enabled  = true;

            AppServiceFactory.RegisterServices();
            AppServiceFactory.RegisterServicesFromAssembly(Chloe.Application.CurrentAssembly.Value);

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }