c# - Obtaining the physical path when saving the mvc file
高洛峰
高洛峰 2017-05-16 17:06:02
0
1
567

File saving, how to obtain the physical path corresponding to the project virtual path, how to obtain the file path when the file path cannot be passed through parameters in the service layer or infrastructure layer?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
滿天的星座
System.Web.HttpContext.Current.Server.MapPath("~/文件夹名/文件名");
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template