Adventures in .NET cover image

Lay off the repository pattern and other controversial opinions - .NET 123

Adventures in .NET

00:00

The Repository Pattern Is Not a Repository, but a Unit Work Pattern

A repository is a layer in between your application and the actual database calls. It's like entity framework, but much, much more simple. In this modern world, if you use it everywhere, it's basically, you're shooting yourself in the foot with the fact that most of our amps have all the functionalities you need to - they are already an abstraction. So sometimes you don't have to use the repository pattern and when you don’t have to use it and you use it anyway, you can trigger like a lot of problems in testing and maintainability.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app