示例#1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            GlobalConfiguration.Configure(WebApiConfig.Register);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            System.Environment.SetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS", JSettings.GoogleCloudStorage.AcountAPIKeyPath);
            initGGCloudStorage();

            JLog.settingLogVariables(ConfigurationManager.AppSettings["logDelimeter"], ConfigurationManager.AppSettings["logPath"], ConfigurationManager.AppSettings["logFileName"]);
        }