HttpContextExtensions.MapPath

Maps a virtual or relative path to a physical path in a Web site, using the WebRootPath as the base path (ie. the wwwroot folder)

public static string MapPath(HttpContext context, string relativePath, 
			IWebHostEnvironment host, string basePath, 
			bool useAppBasePath)

© West Wind Technologies, 2025 • Updated: 2025-03-06
Comment or report problem with topic