Friday, 4 December 2015

Server.MapPath

Server.MapPath(".") returns the current physical directory of the page that you are running
Server.MapPath("..") returns the parent physical directory of the page that you are running
Server.MapPath("~") returns the physical path of the root directory of the application