mvc和Api读取读取服务器文件方法
MVC使用:System.Web.HttpContext.Current.Server.MapPath(“路径”);方法
Api使用:System.Web.Hosting.HostingEnvironment.MapPath(webConfigProjectDllName);方法
MVC使用:System.Web.HttpContext.Current.Server.MapPath(“路径”);方法
Api使用:System.Web.Hosting.HostingEnvironment.MapPath(webConfigProjectDllName);方法