I know this site is written using ASP.Net MVC and I do not see "/Home" in the url. This proves to me that it can be done. What special route and do I need?
+12
A:
Just change "Home" to an empty string.
routes.MapRoute(
"Home",
"",
new { action = Index, controller = Home }
);
Nick Berardi
2008-08-19 01:07:34
+7
A:
If you're running on IIS 7, you can simply delete the Default.aspx file that comes with ASP.NET MVC (assuming you're running on Preview 3 or higher). That file was needed due to an issue with Cassini that was fixed in .NET 3.5 SP1. For more details check out:
http://haacked.com/archive/2008/04/10/upcoming-changes-in-routing.aspx and http://haacked.com/archive/2008/05/12/sp1-beta-and-its-effect-on-mvc.aspx
Haacked
2008-08-20 22:55:03
+1
A:
I am running on Preview 4 and IIS7. Thanks for the help. With all of the technologies emerging from Microsoft these days, it is a full time job just trying to keep up.
pelleg
2008-08-21 22:20:30
A:
@pelleg I totally understand. It's my full-time job to put new technology out there. ;)
Haacked
2008-08-22 03:33:41