A lightweight, document-oriented (NoSQL), syncable database engine for .NET
See the version list below for details.
Install-Package Couchbase.Lite -Version 2.0.0
dotnet add package Couchbase.Lite --version 2.0.0
<PackageReference Include="Couchbase.Lite" Version="2.0.0" />
paket add Couchbase.Lite --version 2.0.0
#r "nuget: Couchbase.Lite, 2.0.0"
For full release notes see https://developer.couchbase.com/documentation/mobile/2.0/references/couchbase-lite/release-notes/index.html?language=csharp
This is version 2 of Couchbase Lite .NET, an embedded NoSQL database with sync capability. It is a complete rewrite of 1.x and thus to use it in an existing project,
you will need to learn about the new API using the above documentation.
NOTE: The new protocol is incompatible with CouchDB-based databases. And since Couchbase Lite 2 only supports the new protocol, you will need to run a version of Sync Gateway that supports it.
Notable API changes:
The 1.x Manager class has been removed. Top level configuration is now performed on the Database class as static methods.
The custom conflict resolution feature has been removed. When two conflicting changes occur, the conflict will be resolved using the default conflict resolver that ships with Couchbase Lite 2.0.
The iOS Models API has been removed in Couchbase Lite 2.0.
The View query API has been removed and is replaced with the N1QL-like query syntax in Couchbase Lite 2.0.
The experimental Geo query API has been removed and is replaced with the N1QL-like query syntax in Couchbase Lite 2.0.
The pluggable storage API has been removed.
The Facebook Authenticator API has been removed.
The Revision API is not longer available. The Couchbase Lite 2.0 conflict resolver API lets users pick which revision is the winner when a conflict occurs. There is a default conflict resolver if none are provided.
The Push filter API has been removed.
The 1.x Attachment API has been renamed to Blob but the functionality remains the same.
The 1.x Database.inTransaction method has been renamed to Database.inBatch to emphasize that Couchbase Lite does not offer transactional guarantees, and that the purpose of the method is to optimize batch operations rather than to enable ACID transactions.
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Couchbase.Lite:
This package contains the 'CouchBaseLite' plugin for MvvmCross.
This package contains the KidoZen SDK assemblies.
Provides Couchbase Lite with a self-hosted REST API.
This package contains everything you need to access the Convertigo Mobile Backend as Service (MBaaS) for extended operations such as using the FullSync technology providing offline data and backend synchronization to enterprise applications for your Xamarin and .NET mobile Apps.
This package is designed for Couchbase lite
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Couchbase.Lite:
Realm is a mobile database: a replacement for SQLite & ORMs
Domain Driven Design oriented application framework, meets CRUD needs
.NET Core Samples - Code it Yourself...