Couchbase .NET SDK 3.6
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);
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.
Using Your Database
How-to guides and tutorials to help you start your development journey with Couchbase and the .NET SDK.
Getting Started
Transactions
Working with Data
Managing Couchbase
Errors & Diagnostics
Learn
Take a deep-dive into the SDK concept material and learn more about Couchbase.
Data Concepts
Errors & Diagnostics Concepts
Resources
Useful resources to help support your development experience with Couchbase and the .NET SDK.
Capella Columnar SDKs
SDKs for Capella Columnar — Couchbase’s analytical database (RT-OLAP) for real time apps and operational intelligence — are in development, and will be arriving first for the Java, Node.js, and Python platforms. |