Project structure recommendation for an opensource asp.net mvc project

后端 未结 3 483
温柔的废话
温柔的废话 2021-01-13 15:00

What do you think of the project structure for an opensource CMS application built on asp.net mvc application? The project nickname is \"Gol\".

The basic requiremen

3条回答
  •  被撕碎了的回忆
    2021-01-13 15:10

    For bigger applications I'd highly recommend using MVC V2's areas. Modularizing your work lends itself to long term maintainability. You can find out about them here: http://msdn.microsoft.com/en-us/library/ee307987(VS.100).aspx

    From there I'd create a Gol.Areas with all of you area projects in there (they will contain your controllers and views for each area).

    I'd also go with a Gol.Communication layer if your dealing with any web servicing.

    I'm giving you this advice at an "enterprise development" level.

    As for the tests, you might be creating lots of work in trying to seperate your Tests away from the logical tiers. Just a thought.

提交回复
热议问题