Graphlit 2024.11.25.1
dotnet add package Graphlit --version 2024.11.25.1
NuGet\Install-Package Graphlit -Version 2024.11.25.1
<PackageReference Include="Graphlit" Version="2024.11.25.1" />
paket add Graphlit --version 2024.11.25.1
#r "nuget: Graphlit, 2024.11.25.1"
// Install Graphlit as a Cake Addin #addin nuget:?package=Graphlit&version=2024.11.25.1 // Install Graphlit as a Cake Tool #tool nuget:?package=Graphlit&version=2024.11.25.1
.NET Client for Graphlit Platform
Overview
The Graphlit Client for .NET enables easy interaction with the Graphlit API, allowing developers to execute queries and mutations against the Graphlit service. This document outlines the setup process and provides a basic example of using the client.
Prerequisites
Before you begin, ensure you have the following:
- .NET 6.0 or .NET 8.0 installed on your system.
- An active account on the Graphlit Platform with access to the API settings dashboard.
Building
When building the Graphlit Client, you must install the StrawberryShake tools for API code-generation. This is only required for building the SDK.
dotnet tool install StrawberryShake.Tools --local
Installation
To install the Graphlit Client, use nuget:
dotnet add package Graphlit
Configuration
The Graphlit Client supports environment variables to be set for authentication and configuration:
GRAPHLIT_ENVIRONMENT_ID
: Your environment ID.GRAPHLIT_ORGANIZATION_ID
: Your organization ID.GRAPHLIT_JWT_SECRET
: Your JWT secret for signing the JWT token.
Alternately, you can pass these values with the constructor of the Graphlit client.
You can find these values in the API settings dashboard on the Graphlit Platform.
Setting Environment Variables
To set these environment variables on your system, use the following commands, replacing your_value
with the actual values from your account.
For Unix/Linux/macOS:
export GRAPHLIT_ENVIRONMENT_ID=your_environment_id_value
export GRAPHLIT_ORGANIZATION_ID=your_organization_id_value
export GRAPHLIT_JWT_SECRET=your_secret_key_value
For Windows Command Prompt (CMD):
set GRAPHLIT_ENVIRONMENT_ID=your_environment_id_value
set GRAPHLIT_ORGANIZATION_ID=your_organization_id_value
set GRAPHLIT_JWT_SECRET=your_secret_key_value
For Windows PowerShell:
$env:GRAPHLIT_ENVIRONMENT_ID="your_environment_id_value"
$env:GRAPHLIT_ORGANIZATION_ID="your_organization_id_value"
$env:GRAPHLIT_JWT_SECRET="your_secret_key_value"
Support
Please refer to the Graphlit API Documentation.
For support with the Graphlit Client, please submit a GitHub Issue.
For further support with the Graphlit Platform, please join our Discord community.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
- StrawberryShake.Server (>= 13.9.14)
- System.IdentityModel.Tokens.Jwt (>= 8.1.2)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- StrawberryShake.Server (>= 13.9.14)
- System.IdentityModel.Tokens.Jwt (>= 8.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.11.25.1 | 82 | 11/25/2024 |
2024.11.24.2 | 71 | 11/25/2024 |
2024.11.24.1 | 64 | 11/25/2024 |
2024.11.16.1 | 82 | 11/17/2024 |
2024.11.10.1 | 90 | 11/11/2024 |
2024.11.4.1 | 75 | 11/4/2024 |
2024.10.22.1 | 82 | 10/23/2024 |
2024.10.21.1 | 84 | 10/21/2024 |
2024.10.9.1 | 96 | 10/10/2024 |
2024.10.7.1 | 92 | 10/7/2024 |
2024.10.3.1 | 92 | 10/4/2024 |
2024.9.30.2 | 98 | 10/1/2024 |
2024.9.30.1 | 101 | 10/1/2024 |
2024.9.29.1 | 80 | 9/30/2024 |
2024.9.27.1 | 96 | 9/27/2024 |
2024.9.26.1 | 92 | 9/27/2024 |
2024.9.14.1 | 149 | 9/14/2024 |
2024.9.10.1 | 107 | 9/11/2024 |
2024.9.3.1 | 105 | 9/4/2024 |
2024.9.1.1 | 103 | 9/2/2024 |
2024.8.20.2 | 145 | 8/21/2024 |
2024.8.11.1 | 125 | 8/12/2024 |
2024.8.8.1 | 190 | 8/9/2024 |
2024.8.3.21 | 103 | 8/4/2024 |
2024.8.3.20 | 85 | 8/4/2024 |
2024.8.3.19 | 92 | 8/4/2024 |
2024.8.3.18 | 84 | 8/4/2024 |
2024.8.3.17 | 86 | 8/4/2024 |
2024.8.3.16 | 88 | 8/4/2024 |
2024.8.3.15 | 87 | 8/4/2024 |