苹果系统里面部署ASP.NET
需要在global文件里设置一下
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
Environment.SetEnvironmentVariable("TEMP", @"c:\website\rms_5.8\mms\temp");
Environment.SetEnvironmentVariable("TMP", @"c:\website\rms_5.8\mms\temp");
ValueProviderFactories.Factories.Insert(0, new JsonStringProviderFactory());
ModelBinderProviders.BinderProviders.Add(new CustomModelBinderProvider());
DbUtil.Init(Settings.GetConnectDic());
//Dictionary<string, Dictionary<string, MysqlDataManager>> temp = MerchantDataMangerUtil.AllMerchantDataSourceInfo;
}
浙公网安备 33010602011771号