What is a Domain Service in Domain-Driven Design?

Описание к видео What is a Domain Service in Domain-Driven Design?

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

What is a domain service? It's a pattern in Domain-Driven Design that helps you encapsulate business logic that doesn't belong to any entity. Domain services are very nuanced; you can apply Domain-Driven Design without them. However, there is value in creating domain services. I'll show you how to implement this Domain-Driven Design pattern in this video.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Chapters
0:00 Modeling a Users-Followers feature
1:12 Creating the Follower entity
2:45 How tests can give you quick feedback
3:19 Implementing the Domain Service
9:19 Using Domain Events for side effects
12:06 Why do we need Domain Services?

Комментарии

Информация по комментариям в разработке