Mapping virtual path to physical path using Server MapPath method Example Part 20

  • دعنا نشارك هذا :
ترتيب الدرس : 20
المدة : 00:10:58
التحكم :
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.


All ASP .NET Text Articles

All ASP .NET Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this video we will learn about the Practical use of Server.MapPath() method with an example.

Tilde(~) symbol resolves to the root application directory, no matter how deep you are in the folder hierarchy. This is the advantage of using ~(tilde), over (2 Dots). The following code would work from any folder in our application.

Where as, the following code will only work from folders, that are 2 levels deeper relative to the root directory of the application.

سيتم تفعيل التعليقات قريبا

Sep 23, 2020 07:32:23