Replies: 1 comment 6 replies
-
Application is part of Core but specific to this application. The domain is generic and could possibly work with many applications. The domain publishes events but it's up to each application to determine how or if it wasn't to handle those events. At least, this is my understanding of layering here. In Ardali's template, what's in App/Domain here is in a single Core project. So, he does have the Entities, the Events, and the Domain Event Handlers in the same project. If you don't share the domain with other apps, this works just as well. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I have a question
If the purpose of the domain events are for in process events, why not include the event handlers in the domain?
This way you wouldn't be able to create new instance for the db context, etc... It will all be a part of the domain
Beta Was this translation helpful? Give feedback.
All reactions