Repository pattern or DbContext - what's your poison?

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • OncoLimsLite

  • This project structure is a little dated and in a sandbox project, but gets the general point across of what I usually do. I use scaffolding to set it all up.

  • craftsman

    A .NET scaffolding tool to help you stop worrying about boilerplate and focus on your business logic 🚀

  • This project structure is a little dated and in a sandbox project, but gets the general point across of what I usually do. I use scaffolding to set it all up.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Entity Framework

    EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

  • In EF Core, as far as I can tell, DbSet does not implement any IDbSet interface. https://github.com/dotnet/efcore/blob/main/src/EFCore/DbSet.cs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts