Looking for examples of Domain Events
Asked Answered
A

3

12

Does any one know where to find example code for an implementation of Domain Events as described by Udi Dahan in Domain Events – Salvation?

Amid answered 31/12, 2010 at 10:13 Comment(0)
W
7

DDDSample.Net has one.

Weeden answered 1/1, 2011 at 21:36 Comment(0)
S
14

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).

Skin answered 7/6, 2012 at 18:46 Comment(2)
Yep, thanks for the heads up. I just fixed it. github.com/bsommardahl/BlingBagSkin
It looks cool, but I guess it's abandoned now? Would be good to see a .NET Standard versionCaridadcarie
W
7

DDDSample.Net has one.

Weeden answered 1/1, 2011 at 21:36 Comment(0)
I
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

Interstice answered 10/7, 2015 at 20:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.