Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Practical Domain-Driven Design with EF Core - N...

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Practical Domain-Driven Design with EF Core - NDC London 2021

Hossam Barakat

January 27, 2021

Transcript

34 slides
  1. Practical Domain-Driven Design With EF Core Hossam Barakat Technical Lead

    at Willow @hossambarakat_ | www.hossambarakat.net
  2. @hossambarakat_ What is Domain-Driven Design? “Domain-Driven Design is an approach

    to software development that centers the development on programming a domain model that has a rich understanding of the processes and rules of a domain. ” -- Martin Fowler
  3. @hossambarakat_ What is Domain Model? “An object model of the

    domain that incorporates both behavior and data. ” - Martin Fowler “A system of abstractions that describes selected aspects of a domain and can be used to solve problems related to that domain. ” -- Eric Evans
  4. @hossambarakat_ Bounded Contexts • A defined part of software where

    particular terms, definitions and rules apply in a consistent way • Clear boundaries between different parts of the system https://martinfowler.com/bliki/BoundedContext.html
  5. @hossambarakat_ Domain Events Entity Domain Events DBContext SaveChanges() Event Handler

    Handle() Event Handler Handle() Event Handler Handle() Mediator Publish() Action() SaveChangesInterceptor SavingChanges()

More Decks by Hossam Barakat

Other Decks in Programming