Practical Domain-Driven Design with EF Core - Hossam Barakat

preview_player
Показать описание
You have probably heard about Domain-Driven Design (DDD) and read about the benefits of building complex software applications with DDD, but struggled in applying DDD to your project especially with legacy code bases that have anemic domain models. In this session, we will cover the fundamentals of DDD with focus on the tactical patterns like aggregates, entities, value objects and domain events, how to use a pragmatic approach to craft a cohesive domain model, and finally how to leverage EF Core capabilities to persist the domain model into a relational database. By the end of this talk, you will be equipped with enough knowledge to apply DDD principles to both greenfield and brownfield projects without cluttering your domain model with dependencies on EF Core.

Check out more of our talks at:
Рекомендации по теме
Комментарии
Автор

Love the content, really great to see a concrete example, particularly addressing your decision to stick with 1 model to be used by ef core and the domain. Keep it coming but upgrade the mic man! :)

Deathhead
Автор

The quality of the content here is so good that I'm completely oblivious to what's happening in the audio side of things. Good work, pal! Awesome.

everyonesview
Автор

Always record from the presenters side. Then if the stream isn't cooperating, you can upload a better recording later.

nickfotopoulos
Автор

41:13 Having a domain service (the one for sending notification emails when a new subscription has been created) inherit from an EFCore interface, which is part of the persistence layer, doesn't seem right to me. It seems like a coupling of core domain logic to the persistence layer...

PaulSebastianM
Автор

Very good content, Please can you share the link to the repo

OladejiAkomolafe
Автор

I don't understand. Even fashion bloggers are able to use a proper mic, but apparently some top notch software dudes aren't.

djchrisi
Автор

Excellent talk. But would have been even better if you had used projects instead of folders for putting your Domain, Infrastructure, Application etc.
Do you have an example for how to structure projects with the correct project references? Would love to see how you work with Infrastructure, entities, DTOs and so on.

fieryscorpion
Автор

Great video,
Can you please provide a link to the code repository?
Thank you!

fieryscorpion
Автор

Thanks for video. I learned a lot from it. Keep it up.

genprog
Автор

Can you share these DDD snippets? Are they resharper templates?

radoslav
Автор

Thanks ya Hossam this is helpful and rich

khalidalasi
Автор

24:48 shouldn't CalculateCurrentPeriodEndDate be called CalculateFirstPeriodEndDate or I mean that's what the code seems to do, calculate the end date for billing for the very first billing period, because the end date is always calculated starting from DateTime.UtcNow. To calculate the current period end date, you would need to start from the last period's end date.

PaulSebastianM
Автор

Looking source code, please post the URL if its available on Git

rafigeniuscs
Автор

thanks for great content ...for example why did you new subscribtion is that need for unit testing? cause events hold data of command and it save the changes in database I dont really get it though

farhadshariat
Автор

Great example but the sounds quality is bad. Please share source code

vitek
Автор

Content of the presentation is great, but unfortunately the quality of voice destroys the positive feelings.

martymcfly
Автор

I cannot see the project structure on the left in the vs code. Please share your github repo link, if you can. Thanks.

ravijsoni
Автор

very poor audio, puts you off wanting to watch

johnmchale
Автор

great content,
can you share the source code link

aneeshs
Автор

عمل ممتاز ياخ حسام بارك الله فيك
ممكن رابط الكود لان دقة الفديو غير واضحة

kevinmic