Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. dataaccess_aspnetcore

dataaccess_aspnetcore

NOASSERTIONC#

A generic repository and unit-of-work framework for ASP.NET Core applications using Entity Framework Core.

GitHubGitHub
141 stars42 forks0 contributors

What is dataaccess_aspnetcore?

DataAccess Toolbox is a framework that implements the repository and unit-of-work patterns for ASP.NET Core applications using Entity Framework Core. It provides base classes for entities and repositories, generic CRUD operations, and query helpers to streamline data access while maintaining separation of concerns.

Target Audience

ASP.NET Core developers building applications with Entity Framework Core who want a structured, maintainable data access layer without writing repetitive boilerplate code.

Value Proposition

It offers a standardized, production-ready foundation for data access that reduces development time, enforces best practices, and simplifies complex query building and paging compared to manual Entity Framework implementations.

Overview

Generic repository/unit of work framework for ASP.NET Core with Entity Framework.

Use Cases

Best For

  • Implementing a clean architecture with separated data access and business logic layers
  • Reducing boilerplate code for common CRUD operations in ASP.NET Core APIs
  • Building applications that require efficient paging and filtering of large datasets
  • Standardizing data access patterns across multiple projects or teams
  • Adding custom repository logic while leveraging a generic base implementation
  • Controlling database schema conventions like lowercase table names or cascading deletes

Not Ideal For

  • Projects not using Entity Framework Core or preferring micro-ORMs like Dapper for raw SQL control
  • Rapid prototyping where minimal setup and direct Entity Framework Core usage are prioritized over architectural patterns
  • Applications requiring automatic repository discovery or dynamic data access without manual registration
  • Teams unwilling to depend on a vendor-specific framework with a custom NuGet feed

Pros & Cons

Pros

Standardized CRUD Operations

Generic repositories provide pre-built Get, GetAll, Add, Update, and Remove methods, significantly reducing boilerplate code for common database interactions as shown in the README examples.

Clean Architecture Enforcement

Implements the unit-of-work pattern via IUnitOfWork and IUowProvider, promoting separation of concerns and making business logic more testable and maintainable.

Enhanced Query Building

Includes Filter, Includes, and OrderBy classes to simplify complex query construction, such as building Include chains for related entities, as demonstrated in the Query section.

Built-in Paging Support

Offers IDataPager for efficient retrieval of large datasets in pages, directly addressing performance concerns with large collections without custom implementation.

Cons

Complex Setup and Versioning

Requires configuring a custom NuGet feed (MyGet) and careful version management—separate branches for netcoreapp1.x vs 2.0—adding friction compared to standard EF Core setups.

Missing Key Feature

The README explicitly states 'automatic discovery of repositories -- not yet', forcing developers to manually register custom repositories in the DI container.

Vendor Lock-in Risk

Tightly couples applications to Digipolis's framework conventions and base classes, potentially complicating migration to other data access patterns or future .NET versions.

Potential Abstraction Overhead

The unit-of-work and repository layers add extra complexity and indirection, which might be unnecessary for simple CRUD operations and could impact performance marginally.

Frequently Asked Questions

Quick Stats

Stars141
Forks42
Contributors0
Open Issues12
Last commit7 years ago
CreatedSince 2015

Tags

#entity-framework-core#orm#csharp#unit-of-work#dotnet#aspnet-core#database-abstraction#data-access-layer#repository-pattern

Built With

N
Npgsql
E
Entity Framework Core
A
ASP.NET Core
C
C++

Included in

Core21.2k
Auto-fetched 14 hours ago

Related Projects

abpabp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.

Stars14,456
Forks3,713
Last commit1 day ago
ASP.NET BoilerplateASP.NET Boilerplate

ASP.NET Boilerplate - Web Application Framework

Stars11,997
Forks3,803
Last commit8 days ago
OrleansOrleans

Cloud Native application framework for .NET

Stars10,912
Forks2,148
Last commit23 hours ago
fissionfission

Fast and Simple Serverless Functions for Kubernetes

Stars8,936
Forks796
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub