Looking for examples of Domain Events

后端 未结 3 2007
我寻月下人不归
我寻月下人不归 2021-02-04 11:42

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

相关标签:
3条回答
  • 2021-02-04 11:52

    DDDSample.Net has one.

    0 讨论(0)
  • 2021-02-04 12:02

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

    0 讨论(0)
  • 2021-02-04 12:15

    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

    0 讨论(0)
提交回复
热议问题