API Clients
C# Client
Lightweight C# client for implementing Carbon in your app
A lightweight Supabase client for calling the Carbon API from C# projects.
Installation
dotnet add package supabaseUsage
using Supabase;
var url = Environment.GetEnvironmentVariable("CARBON_API_URL");
var publicKey = Environment.GetEnvironmentVariable("CARBON_PUBLIC_KEY");
var apiKey = Environment.GetEnvironmentVariable("CARBON_API_KEY");
var options = new Supabase.SupabaseOptions
{
AutoConnectRealtime = true,
Headers = new Dictionary<string, string>
{
{ "carbon-key", apiKey }
}
};
var carbon = new Supabase.Client(url, publicKey, options);
await carbon.InitializeAsync();
var employees = await carbon.From<Employee>().Select("*").Execute();Client Reference
See the community supabase C# client documentation for more information.
API Reference
See the Carbon API Reference for more information.