Does any one know where to find example code for an implementation of Domain Events as described by Udi Dahan in Domain Events – Salvation?
Asked
Active
Viewed 1.3k times
11
3 Answers
13
A better implementation of Domain Events, in my opinion, can be found at https://github.com/bsommardahl/BlingBag. There's a sample application and implementation instructions. I like this implementation more because it doesn't use the static class to raise domain events and doesn't couple your domain to your infrastructure. Instead it uses plain ole c# events and initializes them in the services that return your domain entities (like your repository or a fetcher service).

Byron Sommardahl
- 12,743
- 15
- 74
- 131
-
1Yep, thanks for the heads up. I just fixed it. https://github.com/bsommardahl/BlingBag – Byron Sommardahl Sep 07 '12 at 12:30
-
It looks cool, but I guess it's abandoned now? Would be good to see a .NET Standard version – Matt Frear Mar 07 '19 at 21:46
1
This is a pretty neat implementation of Udi Dahan, http://www.udidahan.com/2009/06/14/domain-events-salvation/. Recommended by Steve Smith and Julie Lerman in their course Domain-Driven Design Fundamentals

FatAlbert
- 4,890
- 6
- 22
- 34