module - DDD: Where to Place Domain Events -


i read vernon's book "implementing domain-driven design". couldn't find where put domain event's classes.

  • in same namespace aggregates?
  • in sub-module <aggregate-namespace>.events?
  • or hybird: same namespace physical events subdirectory

it's not big concern nice know of did , how worked out.

thanks in advance!

for service bus messages have separate assembly (being in c# world) along lines of mainnamespace.messages. domain events need go across wire in assembly also.

if, however, intend mapping domain events service bus events domain events in domain assembly.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -