Couchbase .NET SDK 3.7
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.
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.
This page covers using our operational .NET SDK to connect to the Analytics Service of a Capella Operational or self-managed Couchbase Server cluster. As well as this row-based analytics service, a speedy, column-based analytics database is available for real-time analytics.
|
Operational Insights SDKs
SDKs for Operational Insights Enterprise — Couchbase’s analytical database for real time apps and operational intelligence (RT-OLAP) — are available for the .NET, Go, Java, Node.js, and Python platforms. See the Operational Insights Enterprise SDK pages for more information. Currently, different SDKs are needed to connect to Operational Insights Capella — as this service does not have Operational Insights Enterprise’s load balancer, and uses a different connection protocol. Operational Insights Capella SDKs (also known as Columnar SDKs) are available for the Go, Java, Node.js, and Python platforms. See the Operational Insights Capella SDK pages for more information. |