Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub snowbanksdk/foundationdb-dotnet-clientAgent Skills for building correctly on the FoundationDB .NET client (FoundationDB.Client / SnowBank): key & value encoding, subspaces and the Directory layer, writing custom Layers, transactions and the retry loop, advanced/distributed patterns (change feeds, leases, retention, fencing), the Slice binary toolkit, the CrystalJson JSON stack and its source generator (the DOM, generated converters and proxies, self-serializable types, legacy DataContract interop), running/connecting to a cluster (the .NET Aspire hosting & client integrations and the native libfdb_c client), outbound HTTP with BetterHttpClient (per-client policy, TLS/certificates, porting legacy HttpWebRequest code), and writing/diagnosing multi-node integration tests on the SnowBank distributed-test framework (the unified test journal), plus argument guards and assertions with Contract (Contract.NotNull / Positive / Debug.Requires).
C#/.NET binding for the FoundationDB client library.
New to FoundationDB, or just trying it out? The documentation walks you through it end to end: Prerequisites, How it connects, Cluster setup, then Getting Started. It covers installing .NET and a local cluster, plus the one pitfall (matching the
FoundationDB.Client.Nativepackage to your cluster version) that otherwise shows up as mysterious timeouts.Already know FoundationDB? The steps below get you running, and Getting Started has the first read and write.
Install the managed binding and the native client. Three versions are in play, and three rules decide which combinations connect:
FoundationDB.Client.Native has the same major.minor as the cluster (7.3.*, 7.4.* or 8.0.*). A native client connects only to a cluster of its own major.minor, and a mismatch shows up as transactions that hang.FoundationDB.Client (740 in 7.4.x).730 for 7.3, 740 for 7.4, 800 for 8.0).dotnet add package FoundationDB.Client
dotnet add package FoundationDB.Client.Native --version "7.4.*" # the major.minor of your cluster
Usually, take the latest FoundationDB.Client, the newest FoundationDB.Client.Native of your cluster's branch, and the highest API level that both support. A cluster not yet upgraded to 7.4 runs with FoundationDB.Client 7.4.x, FoundationDB.Client.Native 7.3.x and API level 730. FoundationDB 8.0 is not yet a stable branch: choose it only for a new application that will reach production once 8.0 is stable, with FoundationDB.Client 7.4.x, FoundationDB.Client.Native 8.0.x and API level 740. The Cluster setup page has the full table.
Register FoundationDB with the dependency-injection container in your Program.cs. This adds an IFdbDatabaseProvider singleton. Point it at a cluster one of three ways, most-preferred first:
// 1. Recommended: with the .NET Aspire integration, the AppHost supplies the connection.
// Reference the FoundationDB.Aspire package, then:
builder.AddFoundationDb("fdb");
// 2. Manual, from an fdb.cluster file on disk:
builder.Services.AddFoundationDb(740, options =>
options.ConnectionOptions.ClusterFile = "/etc/foundationdb/fdb.cluster");
// 3. Manual, from the cluster's connection string:
builder.Services.AddFoundationDb(740, options =>
options.ConnectionOptions.ConnectionString = "docker:[email protected]:4500");
The recommended path is .NET Aspire, which provisions a local cluster and injects the connection for you.
Inject that provider (it arrives as the db parameter below) and go through the retry loop. Here are two Minimal API endpoints: one lists every greeting, the other adds one.
// GET /greetings : read the first 100 back
app.MapGet("/greetings", (IFdbDatabaseProvider db, CancellationToken ct) =>
db.ReadAsync(async tr =>
{
// resolve the subspace where the Greetings collection's keys are stored
var subspace = await db.Root["Examples"]["Greetings"].Resolve(tr);
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Official marketplace for gstack — AI engineering workflow skills, code review, QA browser automation, and shipping tools for Claude Code.