开发者

ASP.NET MVC DDD E-commerce - Admin and front separation

开发者 https://www.devze.com 2023-01-18 23:08 出处:网络
I\'m going to write an ASP.NET MVC 2 application using Domain Driven Design. I\'m trying to figure out 开发者_JS百科how to separate the Admin from the store front. I could create 2 MVC projects, but r

I'm going to write an ASP.NET MVC 2 application using Domain Driven Design. I'm trying to figure out 开发者_JS百科how to separate the Admin from the store front. I could create 2 MVC projects, but regarding the services for them, should they be in separate projects as well or could I use the CatalogManager, for example, for both, Admin and the store front, and mix up all the services?

Currently I have a class library for each part of my domain (services, infrastructure, model, etc.)

Thanks.


You might want to check out Areas as a way to separate your application into logical domains

0

精彩评论

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

关注公众号