Tricks with Server.MapPath

Tricks with Server.MapPath

The Server.MapPath method can be used to retrieve several interesting properties about the running ASP application, for example:

' the current directorycurrDir = Server.MapPath(".")' the parent directoryparentDir = Server.MapPath("..")' the application's root directoryrootDir = Server.MapPath("/")

For example, you can store the application’s root directory in an Application variable, and use it to dynamically build physical paths to other files and directories.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular