During the Asp.net MVC beta, it was necessary to put a hack into the routing table in global.asax as such Code: routes.MapRoute("Default", "{controller}[B].mvc.aspx[/B]/{action}/{id}", new { controller = "Home", action = "Index", id = "" }); Is it possible to do away with this now, so that we can get the benefit of clean URL's? I would like to just have; Code: routes.MapRoute("Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = "" }); I tried removing it and I get the following error.. Code: controller.home.mvc.aspx' has not been registered Any help would be much appreciated regards Christian
Unfortunately we can't register any microsoft component that is in beta stage unto the production server.
The Asp.Net MVC product is no longer in beta it is now in official release. I think if DiscountASP.net is to offer true .Net hosting, then it should be on top of this release as another service offering. Any timeline as to when the MVC framework will be properly supported?
MVC is compatible w/ our server. However, we decided NOT to install the assembly onto the GAC because it is bin deployable. All you need to do is to upload the MVC assembly to the bin directory.
I haven't really tried manipulating URL's with MVC but I did some searching through the Internet and found a blog that may shed some light to your question. http://haacked.com/archive/2009/01/06/handling-formats-based-on-url-extension.aspx Hope this helps.... If anything else you are free to test it out on the server...