Over a million developers have joined DZone.

Another GraphQL Library for ASP.NET Core

DZone's Guide to

Another GraphQL Library for ASP.NET Core

A contender emerges in the GraphQL space, this time on the .NET platform! A dev looks at this lib and compares it to his. What might the future hold for these libraries?

· Integration Zone ·
Free Resource

Are your API program basics covered? Read the 5 Pillars of Full Lifecycle API Management eBook

It is impressive to run a .NET Core app in Linux on Windows, which is not a Virtual Machine on Windows. I never had the chance to try that. I just played a little bit with the Linux Subsystem for Windows. The second thought that came to mind was: "wow, did he use my GraphQL Middleware library or something else?"

He uses different libraries, as you can see in his repository on GitHub.

  • GraphQL.Server.Transports.AspNetCore
  • GraphQL.Server.Transports.WebSockets

These libraries are built by the makers of graphql-dotnet. The project is hosted by the graphql-dotnet organization on GitHub. They also provide a Middleware that can be used in ASP.NET Core projects. The cool thing about that project is a WebSocket endpoint for GraphQL.

Because my GraphQL middleware, is also based on graphql-dotnet, I'm not yet sure whether to continue maintaining this middleware or to retire this project. I'm not yet sure what to do, but I'll try the other implementation to find out more.

I'm pretty sure the contributors of the graphql-dotnet project know a lot more about GraphQL and their library than I do. Both projects will work the same way and will return the same result - hopefully. The only difference is the API and the configuration. The only reason to continue working on the project is to learn more about GraphQL or to maybe provide a better API.

If I retire my project, I would try to contribute to the graphql-dotnet projects.

What do you think? Drop me a comment and tell me.

Establish API creation, publishing and discovery as a master practice with the API Management Playbook.

graphql ,asp.net core ,linux ,integration ,open source

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}