☄️ Master the Modular Monolith Architecture: [ Ссылка ]
📌 Accelerate your Clean Architecture skills: [ Ссылка ]
🚀 Support me on Patreon to access the source code: [ Ссылка ]
The generic repository pattern is precisely that - a repository pattern implementation that is generic. You don't benefit from implementing it on top of EF Core. But you do introduce a useless abstraction over EF Core. Specific repositories are a different story, and they're common in DDD. I'll explain in the video how to implement and use the generic repository pattern and why I think it's an anti-pattern.
Join my weekly .NET newsletter:
[ Ссылка ]
Read my Blog here:
[ Ссылка ]
Subscribe for more:
[ Ссылка ]
Chapters
0:00 Defining the generic IRepository interface
2:33 Implementing the generic Repository with EF Core
5:00 Configuring generic Repository with DI
5:43 How to use the generic repository pattern
8:34 What I think about generic repositories
Generic Repository Pattern With EF Core - Why It Sucks
Теги
generic repository patterngeneric repository pattern in asp.net core mvcgeneric repository pattern cgeneric repository pattern in asp.net coregeneric repository pattern entity framework coregeneric repository pattern c dappergeneric repository pattern in asp.net core web apirepository pattern ef coregeneric repository pattern ef coregeneric repository crepository pattern canti-patternef coreentity framework core