Posted: 10/20/2011
I have a URL . How can i reterive the value of this URL and display it on my console .
i need to pass it to the browser and fetch the value of that comes from this URL and display the VALUE in the Console.
Posted: 10/21/2011
Hi Bhavika,
'http or https' - HttpContext.Current.Request.Url.Scheme
' domain(:port)' - HttpContext.Current.Request.Url.Authority
'/AppPath' - HttpContext.Current.Request.ApplicationPath;
If you want to get the hole URL:
Request.Url.AbsoluteUri
Regards,
Gjorgji Dimitrov