domain-driven-design
DDD and implementing persistence
I am getting my feet wet with DDD (in .Net) for the first time, as I am re-architecting some core components of a legacy enterprise application.[详细]
2023-03-30 07:26 分类:问答BL Services: Exception or Method Result?
What is the best way and why? V1: try { var service = IoC.Resolve<IMyBLService>(); service.Do(); } catch(BLException ex)[详细]
2023-03-29 21:19 分类:问答DDD, EF, Aggregations
I\'m experimenting with DDD and EF 4.1 Code First. I have an Aggregate Root BlogEntry which looks simlar to this:[详细]
2023-03-29 21:00 分类:问答The repository itself is not usually tested?
I\'m sorry but I\'m new to repositories patterns, unit tests and orm tools. I\'ve been researching on unit tests and the repository pattern, and arrived at some conclusions, I wonder if I\'m right.[详细]
2023-03-29 15:55 分类:问答Things like Gender and Status in my Domain is ValueObjects?
I have a Person Entity in my domain, this person have Gender and Status property, this properties are ValueObjects?[详细]
2023-03-29 14:38 分类:问答In DDD with Entity Framework where should the Context Interface live?
I\'m using Entity Framework in my DDD Application where I have Domain, Infra and UI Layers. My Context Interface is here:[详细]
2023-03-29 07:45 分类:问答Basic Aggregate Question
Is client code allowed to reference entities within an aggregate that is not the root? I have a Story (Root), Team (Entity) and TeamMember (Entity). I am trying to decided if the AddTeamMember method[详细]
2023-03-28 23:54 分类:问答DDD Aggregate Design Question
Here is an oversimplified version of what I am trying to do. I have a Story that gets reviewed by a user and that user can add it to their ballot. The business rule is a story can ONLY belong to the[详细]
2023-03-28 19:48 分类:问答Questioning the use of DTOs with restful service and extracting behavior from update
In the realm of DDD I like the idea of avoiding getters and setters to fully encapsulate a component, so the only interaction that is allowed is the interaction which has been built through behavior.C[详细]
2023-03-28 18:21 分类:问答Grouping user interface logic into a sort of UIService?
Being accustomed to using services and the concise calls they provide to interfact with the business layer, I\'ve been wondering if this approach can be applied to the user interface.[详细]
2023-03-28 10:46 分类:问答