By default the MVC Preview 5 web project comes with a HomeController.vb class. This sets the web URL to http://www.mywebsite.com/home/ by default. If I just wanted this to be http://www.mywebsite.com/ by default, how would I accomplish that?
+1
A:
I'm not sure I understand your question, if what you want is to go to http://www.mywebsite.com/ and not have it be trailed by /home, that is the behavior you will get.
Is there something else you were looking for?
KevDog
2008-09-25 01:32:04
+4
A:
Answered already so I'm just going to direct you to those:
Here: http://stackoverflow.com/questions/33861/aspnet-mvc-routing-basics-root-route
Here: http://stackoverflow.com/questions/15470/how-do-i-get-rid-of-home-in-aspnet-mvc
Simucal
2008-09-25 01:33:11