Exemplo n.º 1
0
        protected void Application_Start()
        {
            XTrace.WriteVersion(this.GetType().Assembly);

            AreaRegistration.RegisterAllAreas();

            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            GitCacheAccessor.Initialize();
            SshServerConfig.StartSshServer();
        }
Exemplo n.º 2
0
        protected void Application_Start()
        {
            HidingRequestResponse = HttpRuntime.UsingIntegratedPipeline;

            Logger.SetLogPath();
            Logger.Info(AppInfomation.GetAppStartingInfo());

            AreaRegistration.RegisterAllAreas();

            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            MefConfig.RegisterMef();
            ScheduleConfig.RegisterScheduler();

            GitCacheAccessor.Initialize();
            SshServerConfig.StartSshServer();

            Logger.Info(AppInfomation.GetAppStartedInfo());

            HidingRequestResponse = false;
        }