How to Install GraphQL.NET?
This article explains how you can install GraphQL.NET in yout .NET Core applications.
How to install GraphQL.NET ?
To install GraphQL.NET in your .NET Core application, follow the below steps.
Open your .NET Core 3.1 application.
Open Package Manager Console and install GraphQL.NET by running the below commands.
Install-Package GraphQL
GraphQL is the primary package that provides all the necessary GraphQL functionalities in .NET.
- Additionally, you can install the below NuGet package for the serializer implementation.
Install-Package GraphQL.SystemTextJson
or
Install-Package package GraphQL.NewtonsoftJson
GraphQL.SystemTextJson is the recommended package if you are running .NET Core 3+ version.