A GraphQL server implementation for ASP.NET Core, providing HTTP and WebSocket transports with built-in UI tools.
GraphQL ASP.NET Core Server is a middleware package that enables developers to host GraphQL APIs within ASP.NET Core applications. It provides a complete server implementation handling HTTP and WebSocket transports, subscriptions, authorization, and includes built-in UI tools for development and testing.
.NET developers building GraphQL APIs who want a production-ready, specification-compliant server integrated directly into the ASP.NET Core pipeline with minimal boilerplate.
It offers a fully-featured, secure, and highly configurable GraphQL server out-of-the-box, deeply integrated with ASP.NET Core's authentication, dependency injection, and middleware systems, saving significant development time compared to building a custom solution.
ASP.NET Core GraphQL Server
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly works with middleware, endpoint routing, MVC controllers, and Azure Functions, as shown in the configuration samples for flexible hosting.
Supports HTTP GET, POST, and WebSockets with both graphql-ws and graphql-transport-ws protocols, ensuring broad client compatibility per the HTTP spec.
Includes middleware for Altair, GraphiQL, and Voyager, providing interactive API exploration tools without extra setup, as listed in the package table.
Integrates with ASP.NET Core's authentication and authorization for endpoint and field-level security, with support for custom WebSocket authentication services.
The README highlights migration notes from v6 to v7 and v7 to v8, with deprecated packages, causing disruption for upgrading projects.
Setting up WebSocket authentication or custom middleware requires deriving from base classes and overriding methods, adding development overhead.
Inherits limitations from GraphQL.NET, such as reflection-heavy design affecting Native AOT support, as noted in the additional notes section.