# graphql-dotnet/graphql-dotnet

GraphQL for .NET

Repository: https://github.com/graphql-dotnet/graphql-dotnet
Canonical: https://ross.abutalabs.com/products/graphql-dotnet
Homepage: https://graphql-dotnet.github.io
Language: C#
License: MIT
License Family: permissive
Topics: graphql, graphql-dotnet, api, graphiql, dotnet-core
Last push: 2026-08-23T17:15:14+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 4076, "days_push": 10, "days_rel": 15, "gap_med": 28, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5992, forks 945 (observed 2026-08-28T04:09:34.055186+00:00)

## What it is
A .NET implementation of the GraphQL query language, providing a lexer/parser, schema definition, and execution engine for building GraphQL APIs. It is distributed as NuGet packages usable from any .NET application.

## Use cases
- build a graphql api in .net
- serve graphql queries from asp.net core
- define and execute graphql schemas in c#
- add a graphql endpoint to an existing dotnet service
- parse and validate graphql queries

## When to choose
- you are building a GraphQL server or client in .NET/C#
- you need a spec-compliant GraphQL execution engine with fine-grained control
- you want a mature, MIT-licensed GraphQL library for dotnet-core

## When to avoid
- you want a batteries-included framework with opinionated conventions like Hot Chocolate
- your project is not on the .NET platform
- you only need a simple REST API without graph-style queries

## Facets
- artifact type: library
- maturity: active
- function: graphql, api-framework, parser, http-server
- domain: web-development, backend, apis, developer-tools
- platform: dotnet, cross-platform
- tags: graphql-server, query-language, execution-engine, dotnet-core, schema, web-server

## Member repositories
- graphql-dotnet/graphql-dotnet (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.055186+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:51.179495+00:00, confidence not recorded.
  - readme: https://github.com/graphql-dotnet/graphql-dotnet (fetched 2026-08-28T04:09:34.055186+00:00, sha eeb30ffaa795)
  - homepage: https://graphql-dotnet.github.io (fetched 2026-08-29T08:45:50.785590+00:00, sha dc555735c88d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
