I have New task, Task is Like that In URL only Web-site name should be display e.g. www.edcalls.com , No other information should display in URL such as www.edcalls.com/Default.aspx or www.edcalls.com/pankil.aspx.
I suppose an iframe would work, but also the other approach would be to make the entire applicaiton JavaScript/Ajax driven. The home page is loaded and then the entire UI is created and changed dynamically.
In addition, you can consider using URL rewriting or url routing feature to customize the display url of your ASP.NET web application pages/handlers so that they will be displayed as root site url(or redirected to the root site path in case user directly
typing the page/handler's url in browser).
Pankil
Member
141 Points
77 Posts
Only Web-site Name should be display in URl.
May 06, 2012 06:49 AM|LINK
Hello
I have New task, Task is Like that In URL only Web-site name should be display e.g. www.edcalls.com , No other information should display in URL such as www.edcalls.com/Default.aspx or www.edcalls.com/pankil.aspx.
Pankil
HostingASPNe...
All-Star
15922 Points
2982 Posts
Re: Only Web-site Name should be display in URl.
May 06, 2012 06:54 AM|LINK
Hello,
The only option is to use iframe.
Regards
Free ASP.NET Examples and source code.
BrockAllen
All-Star
28134 Points
4997 Posts
MVP
Re: Only Web-site Name should be display in URl.
May 06, 2012 03:57 PM|LINK
I suppose an iframe would work, but also the other approach would be to make the entire applicaiton JavaScript/Ajax driven. The home page is loaded and then the entire UI is created and changed dynamically.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
Steven Cheng...
Contributor
4219 Points
548 Posts
Microsoft
Moderator
Re: Only Web-site Name should be display in URl.
May 07, 2012 02:41 AM|LINK
In addition, you can consider using URL rewriting or url routing feature to customize the display url of your ASP.NET web application pages/handlers so that they will be displayed as root site url(or redirected to the root site path in case user directly typing the page/handler's url in browser).
#IIS URL Rewriting and ASP.NET Routing
http://learn.iis.net/page.aspx/496/iis-url-rewriting-and-aspnet-routing/
#ASP.NET Routing
http://msdn.microsoft.com/en-us/library/cc668201(v=vs.100).aspx
Feedback to us
Microsoft One Code Framework
Pankil
Member
141 Points
77 Posts
Re: Only Web-site Name should be display in URl.
May 14, 2012 03:21 AM|LINK
Hello
THank you very much for your help.
Pankil