开发者

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

开发者 https://www.devze.com 2023-02-13 15:06 出处:网络
Imagine that I have a store. I have an adm开发者_JS百科in side to the store located in an area called \"Admin\".

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

精彩评论

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

关注公众号