Clustron.Zaris.SDK
1.1.0
dotnet add package Clustron.Zaris.SDK --version 1.1.0
NuGet\Install-Package Clustron.Zaris.SDK -Version 1.1.0
<PackageReference Include="Clustron.Zaris.SDK" Version="1.1.0" />
<PackageVersion Include="Clustron.Zaris.SDK" Version="1.1.0" />
<PackageReference Include="Clustron.Zaris.SDK" />
paket add Clustron.Zaris.SDK --version 1.1.0
#r "nuget: Clustron.Zaris.SDK, 1.1.0"
#:package Clustron.Zaris.SDK@1.1.0
#addin nuget:?package=Clustron.Zaris.SDK&version=1.1.0
#tool nuget:?package=Clustron.Zaris.SDK&version=1.1.0
Clustron.Zaris.SDK
Clustron.Zaris.SDK is the complete SDK package for Clustron Zaris.
It bundles the core client and in-process runtime, allowing you to get started quickly with both embedded (InProc) and distributed (Remote) modes.
Installation
dotnet add package Clustron.Zaris.SDK
Quick Start (InProc)
using Clustron.Zaris.Client.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection()
.AddClustronZarisStores(cfg =>
cfg.AddStore("demo", s => s.UseInProc()))
.BuildServiceProvider();
var client = await services
.GetRequiredService<IZarisClientProvider>()
.GetAsync("demo");
await client.PutAsync("hello", "world");
var value = await client.GetAsync<string>("hello");
Console.WriteLine(value);
Connect to Cluster (Remote)
Register a store from a connection string — one string carries the seed
endpoints (comma-separated → bootstrap failover), the scheme
(zaris:// plaintext / zariss:// TLS), and an optional token
(?token=env:VAR / file:/path / literal) and CA (?ca=file:/path). The
store name in the path is required and equals the cluster's clusterId.
using Clustron.Zaris.Client.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection()
.AddClustronZarisConnectionString("demo", "zaris://localhost:7861/demo")
.BuildServiceProvider();
To register every store from the standard ConnectionStrings configuration
section instead, use
services.AddClustronZarisFromConnectionStrings(configuration).
Overview
- Includes Client + InProc runtime
- Single package for most applications
- Supports both embedded and distributed modes
- Designed for modern .NET applications using dependency injection
When to Use SDK
Use this package when:
- You want a single package instead of managing multiple dependencies
- You are starting a new project
- You need both InProc and Remote capabilities
Related Packages
- Clustron.Zaris.Client (client only)
- Clustron.Zaris.InProc (embedded runtime only)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Clustron.Zaris.Client (>= 1.1.0)
-
net8.0
- Clustron.Zaris.Client (>= 1.1.0)
- Clustron.Zaris.InProc (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.