Hello everyone,
I'm trying to get ASP.NET MVC 2 single-project area registration to work. Tried with Preview 2 and now with Beta version with no luck. I used the "Add area" dialog to create a "NewsModule" area. Created a NewsModuleController inside it and an Index view for it.
The route registration for this Area looks like this:
context.MapRoute( "NewsModule_default", "NewsModule/{action}/{id}", new { action = "Index", id = "", controller = "NewsModule", area = "NewsModule" } );
I added the AreaRegistration.RegisterAllAreas(); call to my Global.asax. Accessing http://localhost/mymvcproj/NewsModule gets a HTTP 404 error.
Using Phil Haack's route debugger, I could confirm that the route is being correctly mapped and catched by this URL, however, it seems like the framework is not being able to locate the Area files, maybe?
Anyone can help?
Thanks, Felipe