dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Sep 10, 2003

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Get the Physical Path of a Virtual Root Path Without Using Server.MapPath()

Server.MapPath() actually generates an additional requests to the Web server. A cheaper way to get the physical path for virtual root path of your website on the server is:

Request.ServerVariables("APPL_PHYSICAL_PATH")
Michael Leung
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date