Getting a country code or internal id might require accessing a database or simply loading a properties file.
I\'m looking for good examples of testing the domain using JOlivers CommonDomain and EventStore I have been watching greg youngs videos and he has a nice simple abstract aggregate root test fixture.
After reading several other questions, it looks like it\'s not advisable to have an entity class use a Repository. So given these repositories:
I am learning general development strategies but there are a lot question开发者_如何学Python in my mind about them. One of them is about creating application layer which shouldn\'t have dependencies P
In most of the MVP examples I\'ve seen, the presenter calls some service, which calls some repository, which returns an entity. In most asp.net web applications that I have worked on, the logic is nev
Is it right to ha开发者_如何学编程ndle an event in a aggregate published from another aggregate ? Or a domain should only handle commands ?
My database is relatively small, 8 tables, each with less than 5 columns. I use EF. I created single repository class, but now that I think it might not be the right way to use it. Should I have separ
I have several sub-classes of a payment transaction base type (credit card, check, cash, billMeLater, etc). Each sub-class has it\'s own repository since each has its own properties and way of being f
I\'m thinking about applying CQS for my ASP.NET MVC web site, but in a very simple matter. I don\'t mean CQRS, because I want to use the same data source for query and command parts, and so I don\'t n
my application uses CQRS, I have a case where I have a command \"AddApplicationToGroupCommand\" with following parameters: