W
Water Cooler v2
How does one get the root of the ASP.NET application. For instance, my
application is:
http://localhost/MyApplication/login.aspx
Today, it is on a test server, but when I move it to the production
server, it would become something like:
http://www.foobar.com/MyApplication/login.aspx
I need the entire path and not the relative to the page from which I
query the path.
application is:
http://localhost/MyApplication/login.aspx
Today, it is on a test server, but when I move it to the production
server, it would become something like:
http://www.foobar.com/MyApplication/login.aspx
application so that I don't have to change hard-coded values everytime.From within one of the pages, how do I get the correct path of the
I need the entire path and not the relative to the page from which I
query the path.