Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/couchbase/couchbase-net-client
The official Couchbase SDK for .NET Core and Full Frameworks
https://github.com/couchbase/couchbase-net-client
couchbase dotnet sdk
Last synced: 15 days ago
JSON representation
The official Couchbase SDK for .NET Core and Full Frameworks
- Host: GitHub
- URL: https://github.com/couchbase/couchbase-net-client
- Owner: couchbase
- License: apache-2.0
- Created: 2011-07-19T08:18:15.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T08:49:24.000Z (6 months ago)
- Last Synced: 2024-05-22T18:26:38.553Z (6 months ago)
- Topics: couchbase, dotnet, sdk
- Language: C#
- Homepage: http://www.couchbase.org
- Size: 32.6 MB
- Stars: 272
- Watchers: 55
- Forks: 248
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-csharp - Couchbase - Official Couchbase .NET client library, based on the Enyim memcached client (Database Drivers)
- awesome-dotnet-cn - Couchbase - Couchbase 官方.NET客户端库,基于Enyim内存缓存客户端。 (数据库驱动)
- awesome-dotnet - Couchbase - Official Couchbase .NET client library, based on the Enyim memcached client (Database Drivers)
- awesome-dot-dev - Couchbase - Official Couchbase .NET client library, based on the Enyim memcached client (Database Drivers)
- awsome-dotnet - Couchbase - Official Couchbase .NET client library, based on the Enyim memcached client (Database Drivers)
- awesome-dotnet - Couchbase - Official Couchbase .NET client library, based on the Enyim memcached client (Database Drivers)
README
The Official Couchbase .NET SDK
[Chat with us on Discord](https://discord.com/invite/sQ5qbPZuTh) | [Couchbase Forums](https://forums.couchbase.com/c/net-sdk/6)
* master is 3.4 development branch
* release27 is 2.7.X development branch
* release13 is 1.3.X development branch## Getting Started
To get up and running with the SDK, please visit the [online documentation](https://docs.couchbase.com/dotnet-sdk/current/hello-world/start-using-sdk.html).
## Running Tests
We maintain a collection of both unit and integration test projects.
### Unit Tests
Couchbase.UnitTests contains environment independent tests and do not require a local cluster to run.
### Running the Integration Tests ##
Couchbase.IntegrationTests contains tests that are run against a real Couchbase Server and has different requirements depending on what server version you are running them against:
Couchbase Server 4.0+
1. The "beer-sample" and "travel-sample" sample buckets installed. They can be installed by logging into the Couchbase Console and then Settings->Sample Buckets.
2. Create the following buckets:
1. "default" - a Couchbase bucket with no password
2. "authenticated" - a Couchbase bucket with a password of "secret"
3. "memcached" - a Memcached bucket with no password
3. Install an SSL certificate (copied from the Couchbase console Security->Root Certificate)
4. A default primary index configured on the following buckets: `default`, `authenticated`, `beer-sample` and `travel-sample` (egcreate primary index on `default`
)
5. Add an FTS index to the `travel-sample` bucket called `idx-travel`
6. Update config.json with the hostname of your Couchbase Server IP and set enhancedAuth to `false`
7. Update app.config's hostname and *basic* Couchbase client section with the Couchbase Server IPCouchbase Server 5.0+ - In addition to the steps above:
1. "ephemeral" - an Ephemeral bucket
2. Update config.json enhancedAuth to `true`
3. A user called `authenticated` with a password of `secret`NOTE: Couchbase Server 5.0+ uses Role-Based Access Control (RBAC) for authentication. This supersedes configuring bucket passwords with discrete users with their own passwords and offers much more granular control.
## Generating gRPC proxies and stubs
Please checkout this [README](https://github.com/couchbase/couchbase-net-client/blob/master/src/Couchbase.Stellar.CodeGen/README.md) for how to generate the gRPC proxies and stubs for Protostellar.
## Pull Requests and Submissions ##
Being an Open Source project, the Couchbase SDK depends upon feedback and submissions from the community. If you feel as if you want to submit a bug fix or a feature, please post a Pull Request. The Pull Request will go through a formal code review process and merged after being +2'd by a Couchbase Engineer. In order to accept a submission, Couchbase requires that all contributors sign the Contributor License Agreement (CLA). You can do this by creating an account in [Gerrit](http://review.couchbase.org), our official Code Review system. After you have created your account, login and check the CLA checkbox.Once the CLA is signed, a Couchbase engineer will push the pull request to Gerrit and one or more Couchbase engineers will review the submission. If it looks good they will then +2 the changeset and merge it with master. In addition, if the submission needs more work, you will need to amend the Changeset with another Patchset. Note that is strongly encouraged to submit a Unit Test with each submission and also include a description of the submission, what changed and what the result is.