couchbase-lite-net

A lightweight, document-oriented (NoSQL), syncable database engine for .NET

  • 所有者: couchbase/couchbase-lite-net
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Couchbase Lite for .NET GitHub release Coverage Status

Couchbase Lite is a lightweight embedded NoSQL database that has built-in sync to larger backend structures, such as Couchbase Server.

This is the source repo of Couchbase Lite C#. The main supported platforms are .NET Core Windows, .NET Core macOS, .NET Core CentOS, .NET Core Ubuntu, UWP, Xamarin iOS, and Xamarin Android.

Documentation Overview

Getting Couchbase Lite

The following package IDs will be on Nuget for the 2.0 release and beyond

  • Couchbase.Lite
  • Couchbase.Lite.Support.UWP
  • Couchbase.Lite.Support.Android
  • Couchbase.Lite.Support.iOS

There will be developer builds compiled every two weeks, and available by adding http://mobile.nuget.couchbase.com/nuget/Developer/ to your Nuget package sources.

Building Couchbase Lite master branch from source

Please use git to clone the repo, rather than downloading it from a zip file. This ensures two things: that I will always know by looking at the logs which git commit you built your source from if you file a bug report, and that you will be able to pull the appropriate submodules. After you clone the repo, or change branches, be sure to update the submodules with this command git submodule update --init --recursive

Native Components Needed

You will notice that Couchbase.Lite, and each of the support projects make references to some missing native libraries. These need to be built or [TODO]downloaded. The native library project can be found in the vendor/couchbase-lite-core directory. It uses CMake, and includes various build scripts in the build_cmake/scripts folder. Note: Building for Android on Windows is not supported. For some platforms you will need to install some prerequisites, and for any build system you will need CMake available. More info about this can be found at the LiteCore repo.

Once you build native

You can build Couchbase Lite using either of the following:

  • Visual Studio 2017 or later.
  • Xamarin Studio 6.2 or later.

There is one solution file with everything needed to build Couchbase Lite for any platform we support, and it includes the following projects:

  • Couchbase.Lite - The .NET Standard base Couchbase Lite library
  • Couchbase.Lite.Support.* - The support classes that inject support classes for a particular platform

If you simply build the solution file that will cause a build of all projects by default. You can change which projects get built in the solution options of Xamarin Studio, or the Configuration Manager of Visual Studio. Alternatively, you could build the projects you want instead of the whole solution.

Other Notes

Metrics

Stories in Progress
Stories in Backlog
Throughput Graph

License

主要指标

概览
名称与所有者couchbase/couchbase-lite-net
主编程语言C#
编程语言Shell (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2013-10-14 21:18:36
推送于2025-09-25 22:41:09
最后一次提交2025-09-26 07:41:07
发布数90
最新版本名称3.2.4 (发布于 2025-06-13 08:54:01)
第一版名称v0.9.1 (发布于 )
用户参与
星数439
关注者数46
派生数130
提交数3.5k
已启用问题?
问题数914
打开的问题数0
拉请求数696
打开的拉请求数0
关闭的拉请求数123
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?