Question

I have an exising asp.net MVC app, and I want to add 'Areas' now.

What are the ramifications of this? Any gotchas?

No correct solution

OTHER TIPS

  • Check your routes registration in Global.asax
  • Check that you don't have hard coded link (without Html.Action or Ajax.Action) pointing to the controllers or action that you have moved to a new area

If you add Areas then all of your routing will be different. Be sure to test all of your routes. Things might get especially hairy if you are going from one area to another - you will need to specify the area the routevalues (new {area = "myArea"}).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top