.NET SDK
The official .NET SDK for Replane. Works with .NET 10.0+ with zero external dependencies.
Installation
dotnet add package Replane
Quick start
using Replane;
// Create client and connect
await using var replane = new ReplaneClient();
await replane.ConnectAsync(new ConnectOptions
{
BaseUrl = "https://replane.example.com",
SdkKey = "your-sdk-key"
});
// Get a config value
var featureEnabled = replane.Get<bool>("feature-enabled");
var maxItems = replane.Get<int>("max-items", defaultValue: 100);
Features
- Real-time updates via Server-Sent Events (SSE)
- Client-side evaluation — context never leaves your application
- Gradual rollouts with percentage-based segmentation
- Override rules with flexible conditions
- Type-safe configuration access
- Async/await support throughout
- In-memory test client for unit testing
- Zero dependencies — uses only System.Text.Json
Next steps
- API Reference — Full API documentation
- Guide — Testing, ASP.NET Core, best practices
- Feature Flags — Toggle features
- Override Rules — Target specific users