Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

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

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GraphQL
  3. EntityGraphQL

EntityGraphQL

MITC#5.7.2

A .NET GraphQL library that builds schemas from .NET objects with efficient LINQ-based query execution.

Visit WebsiteGitHubGitHub
454 stars63 forks0 contributors

What is EntityGraphQL?

EntityGraphQL is a GraphQL library for .NET that enables developers to build GraphQL APIs by mapping GraphQL schemas directly to .NET objects. It solves the problem of inefficient data retrieval by compiling GraphQL queries into LINQ expressions, ensuring only requested fields are fetched, and works seamlessly with Entity Framework or any .NET object model.

Target Audience

.NET developers building GraphQL APIs, especially those using Entity Framework or other ORMs, and teams needing efficient query execution with support for multiple data sources.

Value Proposition

Developers choose EntityGraphQL for its deep integration with .NET ecosystems, performance optimizations via LINQ projection, and flexibility to work with any data source, making it a robust alternative to other GraphQL implementations for .NET.

Overview

A GraphQL library for .NET

Use Cases

Best For

  • Building GraphQL APIs on top of existing Entity Framework models
  • Optimizing database queries by selecting only required fields in GraphQL requests
  • Integrating multiple data sources into a single GraphQL schema
  • Creating dynamic filtering or calculated fields using the EQL expression language
  • Developing ASP.NET applications with minimal GraphQL setup overhead
  • Extending .NET applications with GraphQL without rewriting data access layers

Not Ideal For

  • Projects requiring real-time GraphQL subscriptions, as EntityGraphQL's focus is on queries and mutations without built-in subscription support.
  • Teams using non-.NET technology stacks, since the library is tightly integrated with .NET and LINQ ecosystems.
  • Developers preferring schema-first GraphQL design, as EntityGraphQL is inherently object-first based on .NET class mappings.

Pros & Cons

Pros

Efficient Query Execution

Compiles GraphQL queries to LINQ expressions that select only requested fields, reducing database load and data transfer, as shown in the Entity Framework examples.

Seamless .NET Integration

Automatically maps GraphQL schemas to .NET objects like Entity Framework DbContext, enabling quick setup without rewriting existing data layers.

Multi-Source Flexibility

Extensible architecture allows combining multiple data sources into a single GraphQL schema, supporting unified APIs from disparate systems.

ASP.NET Optimization

Provides EntityGraphQL.AspNet package with easy route mapping and authorization integration, simplifying ASP.NET Core deployments as per the quick start.

Cons

Missing Advanced Features

Lacks built-in support for GraphQL subscriptions or federation, limiting real-time capabilities compared to alternatives like Hot Chocolate.

.NET Ecosystem Lock-in

Heavily reliant on .NET and LINQ, making it unsuitable for cross-platform projects or those using non-relational databases without .NET support.

Custom Expression Complexity

EQL (Entity Query Language) introduces a non-standard syntax for filtering and calculations, adding learning curve and potential maintenance overhead.

Frequently Asked Questions

Quick Stats

Stars454
Forks63
Contributors0
Open Issues9
Last commit7 days ago
CreatedSince 2015

Tags

#api#aspnet#graphql#query-language#csharp#linq#data-access#dotnet#backend#graphql-server#entity-framework

Built With

E
Entity Framework
L
LINQ
A
ASP.NET
.
.NET

Links & Resources

Website

Included in

.NET21.2kGraphQL15.0k
Auto-fetched 9 hours ago

Related Projects

GraphQL.NETGraphQL.NET

GraphQL for .NET

Stars5,983
Forks942
Last commit18 hours ago
HotChocolateHotChocolate

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.

Stars5,701
Forks803
Last commit22 hours ago
graphql-netgraphql-net

Convert GraphQL to IQueryable

Stars886
Forks82
Last commit3 years ago
ZeroQLZeroQL

C# GraphQL client with Linq-like syntax

Stars320
Forks19
Last commit4 months 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