C# GraphQL

Open-source C# projects categorized as GraphQL | Edit details

Top 14 C# GraphQL Projects

  • GitHub repo GraphQL for .NET

    GraphQL for .NET

    Project mention: Dotnet Outdated - Install and Update | dev.to | 2021-11-27

    This is a template API using Clean Architecture alongside a .net implementation of GraphQL.

  • GitHub repo Hot Chocolate

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

    Project mention: Adopting 200 OK! Error Handling strategy in GraphQL with Hot Chocolate (dotnet). | dev.to | 2021-11-22

    If you don't know Hot Chocolate framework, feel free to read about it on chillicream.com (official website) and feel free to join the great community (which is always willing to help) on slack

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo ASP.NET MVC Boilerplate

    .NET project templates with batteries included, providing the minimum amount of code required to get you going faster.

    Project mention: Adding Polly Policies To Your IDistributedCache | dev.to | 2021-04-02

    I never published Nuget packages myself, but with the help of Dotnet-Boxed it was super easy.

  • GitHub repo ASP.NET MVC Boilerplate Framework

    .NET Core Extensions and Helper NuGet packages. (by Dotnet-Boxed)

  • GitHub repo graphql-client

    A GraphQL Client for .NET Standard (by graphql-dotnet)

    Project mention: GraphQL.NET with ASP.NET Integration Tests | dev.to | 2021-05-30

    The integration test server allows you to create a HttpClient that has a special HttpMessageHandler that, rather than using TCP sockets, communicates directly with the in-memory server. All the usual serialisation still occurs. We can very easily use this to execute a GraphQL query, manually forming a HttpRequestMessage, but to make things a little easier, we can use GraphQL.NET's GraphQL.Client package. With this in play, we can create a simple test using the HttpClient we created earlier:

  • GitHub repo Fake JSON Server

    Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.

    Project mention: It works. yay. | reddit.com/r/ProgrammerHumor | 2021-11-25

    I don’t write C++ and I’m on mobile right now but a quick GitHub search of “back end” (probably would’ve been better off searching “server” but oh well), filter by language C# (might be able to do C++ on desktop or with query params), looked at one of the packages with higher stars, navigated to the Test folders: https://github.com/ttu/dotnet-fake-json-server/tree/master/FakeServer.Test

  • GitHub repo examples

    Examples for GraphQL.NET (by graphql-dotnet)

    Project mention: GraphQL vs REST in .NET Core | dev.to | 2021-12-16

    For .NET Web App you can add GraphQL to you app in a few ways: for example, via separate endpoint in your controller, adding your custom GraphQL Middleware or you can use NUGET package GraphQL.Server.Transports.AspNetCore and add GraphQLHttpMiddleware or even Web Sockets Middleware.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo trouble-training

    FullStack DDD/CQRS with GraphQL workshop including distributed tracing and monitoring. This shows the configuration from React frontend to .Net backend.

    Project mention: Cross-platform Build Automation with Nuke | dev.to | 2021-11-10

    To show an example of a build system, I will use free opnesource demo app which I have in my github.

  • GitHub repo GraphQlClientGenerator

    GraphQL C# client generator

    Project mention: Introducing GraphQLinq - Strongly-Typed GraphQL Queries with LINQ to GraphQL. | reddit.com/r/dotnet | 2021-04-27

    How would you compare this approach to for example https://github.com/Husqvik/GraphQlClientGenerator?

  • GitHub repo GraphQLinq

    LINQ to GraphQL - Strongly typed GraphQL queries with LINQ query syntax. No more magic strings and runtime errors.

    Project mention: GraphQL Language Injection into C# string literals with JetBrains Rider | reddit.com/r/dotnet | 2021-07-21

    Cool but you can avoid writing raw GraphQL queries and write them with Linq to GraphQL

  • GitHub repo Dotnet6.GraphQL4.WebApplication

    This project exemplifies the implementation and dockerization of a simple Razor Web MVC Core consuming a full GraphQL 4 Web API, build in a .NET 6 multi-layer project, considering development best practices, like SOLID and DRY, applying Domain-Driven concepts in a Onion Architecture.

    Project mention: EF Core 6 - An interesting approach using: UoW + Execution Strategy + Transaction Scope. | reddit.com/r/csharp | 2021-04-08

    The source code can be found in GitHub repository.

  • GitHub repo mflix

    A showcase of how to build API's (REST, gRPC, GraphQL) using C# .NET

    Project mention: MFlix - A C# .NET 5 Project | dev.to | 2021-04-06

    I chose MFlix as the name for this project because I am using one of the sample databases provided by MongoDB called MFlix. The MFlix database is composed of collections of movie related data. I provide more detail in the MongoDB section where I explain how to get a copy of the MFlix database. Therefore, because of the database name, and the fact that MFlix is a short and catchy name, I decided to go with MFlix.

  • GitHub repo CleanGraphQLApi

    A template for an API using Clean Architecture and GraphQL.net.

    Project mention: Dotnet Outdated - Install and Update | dev.to | 2021-11-27
  • GitHub repo Compentio.Notes.GraphQL

    .NET 5 GraphQL Web API application with MongoDB.

    Project mention: GraphQL vs REST in .NET Core | dev.to | 2021-12-16

    Now we can consume created GraphQL API. In the GitHub Repo same functionality has been added with REST approach and GraphQL endpoint. Also widely used Swagger configured for Web API Endpoints as well as AltairUI added for GraphQL endpoint testing. Naturally, AltairUI it not a must for GraphQL, you can also use Swagger, GraphiQL, or GraphQL Playground.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-12-16.

C# GraphQL related posts

Index

What are some of the best open-source GraphQL projects in C#? This list will help you:

Project Stars
1 GraphQL for .NET 5,067
2 Hot Chocolate 3,083
3 ASP.NET MVC Boilerplate 2,890
4 ASP.NET MVC Boilerplate Framework 562
5 graphql-client 481
6 Fake JSON Server 308
7 examples 202
8 trouble-training 182
9 GraphQlClientGenerator 133
10 GraphQLinq 96
11 Dotnet6.GraphQL4.WebApplication 51
12 mflix 8
13 CleanGraphQLApi 4
14 Compentio.Notes.GraphQL 1
Find remote GraphQL jobs at our new job board 99remotejobs.com. There are 6 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms