2019年9月27日金曜日

ASP.NET MVC 物理パス取得

using System.Web.Hosting;

var physicalPath = HostingEnvironment.MapPath(絶対パス or 相対パス);