ASP.Net core 中Server.MapPath的替换方法_shanghaimoon的博客-CSDN博客
string webRootPath = _hostingEnvironment.WebRootPath; string contentRootPath = _hostingEnvironment.ContentRootPath; 来源: ASP.Net core 中Server.MapPath的替换方法_shanghaimoon的博客-CSDN博客 最近忙着将原来的asp