1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-15 01:16:22 +02:00
unleash.unleash/frontend/src/component/onboarding/dialog/snippets/dotnet.md
Jaanus Sellin 4397af0df7
chore: move onboarding flow and dialog under same location (#8272)
It is mostly moving the onboarding folders under same directory for more
clear project structure.
2024-09-26 12:56:49 +03:00

448 B

1. Install the SDK

dotnet add package unleash.client
// If you do not have a json library in your project:
dotnet add package Newtonsoft.Json

2. Initialize Unleash

using Unleash;
var settings = new UnleashSettings()
{
    AppName = "unleash-onboarding-dotnet",
    UnleashApi = new Uri("<YOUR_API_URL>"),
    CustomHttpHeaders = new Dictionary<string, string>()
    {
      {"Authorization","<YOUR_API_TOKEN>" }
    }
};