The Couchbase .NET client allows applications to connect to Couchbase Server using any Common Language Runtime (CLR) language, including C#, F#, and VB.NET. The SDK is written in C#, and some of its idiomatic patterns reflect that choice.
await collection
.InsertAsync(key, Encoding.UTF8.GetBytes("hello"), options =>
{
options.Expiry(TimeSpan.FromSeconds(30));
options.Timeout(TimeSpan.FromMinutes(5));
})
.ConfigureAwait(false);
using var result = await collection.GetAsync(key, options => options.Transcoder(new LegacyTranscoder()))
.ConfigureAwait(false);
Couchbase .NET SDK 3.3
Dive right in with a quick install and Hello World.
The documentation supplements the practical Howto docs with references and concept guides, for those who prefer a broader understanding before diving in and coding.
Leverage the new Couchbase Server Scopes and Collection features to build multi-tenant micro-service application. Integrate with Open Telemetry API to instrument telemetry data for your mission critical workloads that will make troubleshooting and debugging of your applications easier than ever. Add an additional layer of security and protect your sensitive workloads using our Client Side Field Level Encryption capability.
Those useful nuts-and-bolts guides to compatibility tables; release notes; contribution guide; and the migration guide for moving to the 3.0 API.
For community help, visit the Couchbase forums. The .NET SDK can be combined with many other projects in the broader .NET ecosystem and beyond.
Older SDK Versions
Documentation on older, unsupported versions of the SDK — that have reached end-of-life — can be found in the archive.