MVC Server.MapPath (beta7)
MVC Server.MapPath (beta7) . Hi, i need to use server.mappath method in my console application in c#. The whole point of mappath is to relate a url to a physical path. Using Server.MapPath in from www.beansoftware.com It stores a string value that defines the relative or virtual path to map to a physical directory. You can get the base path by using the following code and append your needed path with that. Dim path as string = server.mappath (~/reports/)) and then once i have the reports dir i can do this.