开发者

When using Areas with MVC2 is it good practice for an area to have its own Content folder?

I have an MVC2 application that is divided into Areas. Is it good practice for each area to have its own Content 开发者_开发技巧folder for Images, Styles etc that only pertain to that area?


Mostly irrespective of your areas, you entire application will have similar look and feel. In that case your content could be shared across areas. In your case if every area gets a different look and feel then you can have content specific to that area. However I am sure you don't have that scenario.


Having used areas for a while each with its own Content folder for area specific items it seems to work well and we have come across no problems associated with it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜