Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

usrsol's picture
Asked 11 hours 45 min ago
Latest activity 6 hours 1 min ago

SDK .Net 2.0 DP2 & DP3: get data problem

I'm test couchbase server and SDK .Net 2.0 DP2 & DP3, to know if (and how) I could do what I need.
I'm interesting on using N1QL on .Net.
N1QL dev preview tester works fine on my couchbase server.

In SDK .Net 2.0 DP2 & DP3 I have some problems: I've followed the...

cjjohansen's picture
Asked 1 week 5 days ago
Latest activity 1 week 4 days ago

View by_username was mapped to a dead node, failing. .NET sdk 1.3.7

Hi I get the following errorMessage when trying to call CouchbaseClient.GetView

I havent seen this before!!

I Make the Call from a asp.net WebApi application. Which during startup successfully create Views in couchbase. So the connection to Couchbase server must be OK.

There...

pappu_pandit's picture
Asked 2 weeks 6 days ago

View design

Hi,

I want to write a view that can extract array object members based on array object members value.

For example, I have a document that has this structure written to it:

public class ABC{

public class DoorData
{
///...

cjjohansen's picture
Asked 3 weeks 4 days ago

Getting Single document by Unique value

Hi

Whats the best approach for querying a single entity by a unique value which is not the Key?

var view = client.GetView("useraccount", "by_email").StartKey(theEmail).EndKey(theEmail).Limit(1
...
cjjohansen's picture
Asked 3 weeks 4 days ago
Latest activity 3 weeks 3 days ago

.NET SDK 1.3 Extensions is it possible to configure JSON Serializer

Hi

the MVC Tutorial suggests using the client.GetJson and client.StoreJson extension methods.

I Need to serialize POCO's with protected setters in order to maintain incapsulation.
I Have written a ContractResolver based on CamelCasePropertyNamesContractResolver. Which does...

yli119's picture
Asked 3 weeks 6 days ago
Latest activity 3 weeks 6 days ago

Client discounts under "Idle", never able to reconnect

We found a bug in the library when the client discounts under "idle" for more than half an hour, and it’s easy to reproduce:

  • Create a client for the couchbase client library (version 1.3.3.0), used to read document only, let’s called it ROC, read only client;
  • Insert a
  • ...
ANdrei Nechifor's picture
Asked 4 weeks 17 hours ago
Latest activity 3 weeks 5 days ago

How can I guarantee that a view returns the last inserted value also

Steps:
1. Write a key/value using ExecuteStore command
2. I immediately try to get the last inserted value like this:
var view = _instance.GetView("all_docs", "all_docs");
view = view.Stale(StaleMode.False);
var documents = view.Select(GenerateCacheData);
...

ahmy's picture
Asked 1 month 1 day ago
Latest activity 4 weeks 12 hours ago

Error while storing large data in couchbase saying "Too large value" with status code = 3

I am facing a big problem now when trying store large data in couchbase using the following code :

var status = client.ExecuteStore(StoreMode.Add, "Tests", result);

I am using .net 4.0 (C#), and the status code returned with value 1 so how can i fix this issue and store large...

sherryummen's picture
Asked 1 month 2 days ago
Latest activity 1 month 1 day ago

Is there a way to avoid the limit of 20Mb per document size?

In our case the documents can be huge; splitting is a time consuming process and it reduces the performance as well. I was wondering if we have some way to change this limit?

harold's picture
Asked 1 month 2 days ago
Latest activity 4 weeks 5 hours ago

VS 2013 & .net 3.5

I used Package Manager to add CouchbaseNetClient.1.3.7 to a .net framework 3.5 vb.net project.

I can Import Couchbase and use the namespace in code.

But once I compile/build my project I get the following error and Couchbase is no longer available in code.

Namespace or...

Pages