Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

cjjohansen's picture
Asked 1 day 8 hours ago
Latest activity 5 hours 2 min 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 1 week 2 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 2 weeks 14 hours 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 2 weeks 14 hours ago
Latest activity 1 week 6 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 2 weeks 2 days ago
Latest activity 2 weeks 2 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 2 weeks 3 days ago
Latest activity 2 weeks 1 day 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 2 weeks 6 days ago
Latest activity 2 weeks 3 days 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 3 weeks 10 hours ago
Latest activity 2 weeks 6 days 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 3 weeks 23 hours ago
Latest activity 2 weeks 3 days 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...

agnieszkac's picture
Asked 3 weeks 1 day ago
Latest activity 3 weeks 1 day ago

Couchbase SDK 1.3.7 (.Net) expiryTime issue

In version 1.3.6 here was a bug introduced when using Store method:
http://www.couchbase.com/communities/q-and-a/store-memcached-bucket-expi...

I upgraded to version 1.3.7 and it looks like...

Pages