ebb
ebb

Reputation: 9397

ASP.NET MVC 2 - Organizing

I'm having a ASP.NET MVC 2 Project where I'm making some management system... The thing is that I have 4-5 controllers that are all related to a specific thing in the management system and having 4-5 diffrent view folders dosent make it any easier.. Any suggestions? Since its "a part" of the management system I dont really see how I can make use of areas. All ideas welcome.

UPDATE:

For example I have a thing in my management system called "Product Management", this thing have following controllers attached:

Seems like a waste that I need to create 3 diffrent view folders for those controllers.. Would be much easier if I could create a folder under the "Views" named "Product Management" and then just create a sub folder for each controller...

Upvotes: 2

Views: 167

Answers (2)

ajay_whiz
ajay_whiz

Reputation: 17951

I don't think you can arrange it that way.

You can create an Area as ProductManagement and have your controllers/views inside it.

Upvotes: 2

Siva Gopal
Siva Gopal

Reputation: 3502

You can keep the pages under Shared folder, so that they can be picked up by View engine can find and render the page.

If this is not the solution you are looking at, can you please elaborate your problem further?

Upvotes: 0

Related Questions