Server.MapPath in ASP.NET Core
Long time ago we used Server.MapPath to get physical directory of provided relative or virtual path. In Core 3 and above we use IWebHostEnvironment
Long time ago we used Server.MapPath to get physical directory of provided relative or virtual path. In Core 3 and above we use IWebHostEnvironment