HomeCSharpGraphQL.NET 101 – What is GraphQL?

GraphQL.NET 101 – What is GraphQL?

Problem

You are new to GraphQL and would like to know more about GraphQL.

Solution

GraphQL is an open source data query language for API’s and a runtime for fulfilling queries with the existing data. This is what the GraphQL Foundation says about GraphQL

“GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.”

GraphQL was initially developed by Facebook in 2012 to solve many issues with their mobile app and was later moved to the GraphQL Foundation in 2018. GraphQL changes the way how the client communicates with the API to get only the data what it needs. Apart from Facebook, there are plenty of other companies that use GraphQL. These includes Yelp, GitHub, Twitter, Coursera, Shopify etc. You can know more about the GraphQL customers by visiting GraphQL Landscape page. https://landscape.graphql.org/

GraphQL.NET 101 – What is GraphQL?
GraphQL.NET 101 – What is GraphQL?

You can use GraphQL with any front-end or back-end technologies. GraphQL joins the list of some of the other popular technologies used for API’s like REST, SOAP etc. JSON is one of the most popular language for the communication between the client and the server and GraphQL too uses JSON to solve the communication challenges.

In simple terms, GraphQL is a specification that optimizes the communication of data between the front-end and the back-end. GraphQL lets the clients to ask for only what the front-end needs and retrieve only the necessary data saving the bandwidth.

See Also

– GraphQL Specification http://spec.graphql.org/

– GraphQL Landscape page. https://landscape.graphql.org/

Leave a Reply

You May Also Like

This C# program calculates and displays an upper triangular matrix based on user input. Problem Statement: The program takes the...
This C# program serves as a demonstration of bitwise operators, which are fundamental operators used for manipulating individual bits in...
This C# program is designed to interchange or swap the columns of a matrix. A matrix is a two-dimensional array...