Couchbase .NET SDK 3.4

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

Learn

Take a deep-dive into the SDK concept material and learn more about Couchbase.

Resources

Useful resources to help support your development experience with Couchbase and the .NET SDK.