Software techie by profession, roaming around the world.. A proud Indian, brought up in Coimbatore, Tamilnadu, INDIA. Pointing towards share of knowledge... :)
Sunday, August 30, 2009
How to get the Application Path in C# - ASP.Net
1) HttpContext.Current.Request.Url.Host - Displays the Host Name
2) HttpContext.Current.Request.Url.Port - Displays the Port of the Application
3) HttpContext.Current.Request.ApplicationPath - Displays the Application Path
No comments:
Post a Comment