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

You May Also Like

0 comments