Reputation: 1
I'm looking to migrate web forms app to mvc. One of the organizational issues I would need to tackle is our folder structure. Currenly it's organized by functional area e.g.
which works quite nicely for our task-based app. However, from my understanding, the default organization with an MVC app is similiar to
etc.....
I would like to retain the layout we currently have. I'm envisioning a structure more like
etc...
Which roads do I need to head down to achieve this? And if I did, what kind of pain would I suffer from deviating quite drastically from the convention?
Upvotes: 0
Views: 229
Reputation: 53991
This is something that's available in version 2.0 of ASP.NET MVC.
They're calling it Areas
Some more info from Phil Haack.
Here's what Steve Sanderson has said.
These areas are designed to allow you to seperate out your models, views and controllers into logical "areas".
Upvotes: 4