76,139 views 150 on YTPak
178 2

Published on 07 Nov 2012 | over 4 years ago

Text version of the video
csharp-video-tutorials.blogspot.com/2012/11/mapping-virtual-path-to-physical-path.html

Slides
csharp-video-tutorials.blogspot.com/2013/08/part-19-servermappath.html

All ASP .NET Text Articles
csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html

All ASP .NET Slides
csharp-video-tutorials.blogspot.com/p/aspnet-slides.html

All Dot Net and SQL Server Tutorials in English
www.youtube.com/user/kudvenkat/playlists

All Dot Net and SQL Server Tutorials in Arabic
www.youtube.com/c/KudvenkatArabic/playlists

In this video we will discuss about Server.MapPath() method. This method returns the physical path for a given virtual path. This method can be used in several different ways, depending on the characters that we use in the virtual path. Let's understand this with an example.

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

Loading related videos...