I want to hide page name in browser.
For example;
www.mysite.com/page1.aspx www.mysite.com/page2.aspx www.mysite.com/page3.aspx
I wan
You can use Uri. Create a new Uri object and then use the Host method.
Uri
Host