Duration 9:48

How to Use the Domain Event Pattern | DDD, Clean Architecture, .NET 6

41 819 watched
0
1.4 K
Published 9 Sep 2022

📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ 🚀 Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic The Domain Event pattern is a very useful way to offload important work to the background. In this video, I'm going to show you how to use domain events to improve the reliability of your code. Domain events can only be raised by the aggregate roots in our Domain model. After a domain event is raised, it is handled in the corresponding domain event handler. Join my weekly .NET newsletter: https://www.milanjovanovic.tech Subscribe for more: /c/MilanJovanovicTech Chapters 0:00 What is a Domain event 1:25 Creating a Domain event 2:38 Raising Domain events from AggregateRoot 4:28 Implementing a Domain event handler 8:38 How to publish Domain Events

Category

Show more

Comments - 133