开发者

ASP.NET MVC, Should I keep entire app in areas?

Imagine that I have a store. I have an adm开发者_JS百科in side to the store located in an area called "Admin".

This makes sense.

But should I also have an area called "Public" for the public facing side of the store?

Or should I just leave the public side at the root of MVC?


I don't know if there is a definitive answer to this one, but I prefer to have the public/core site in the root of the application. I tend to look at Areas as an extension of the core focus.

Rich

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜