Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

ap's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

KeyExists method sometimes returns true even when document never exists on server

Seeing this issue randomly where in KeyExists() returns true to a key that doesn't exist and never existed within any bucket.
Is this a bug or is there a fix for this issue or a possible reliable workaround ?

lindatang1998's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

client.GetView(designName, viewName) returns nothing

Hello there,

I am stuck by not getting back any view from the following code:

var view = client.GetView("test", "byStyle");

The cluster.RetrieveDesignDocument returns by the below code are:

{"views":{"byCategory":{"map":"function (doc, meta) {\n emit(meta.id, null)...

wilsont's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Exception throw while getting View after update to 1.3.3

Hello.

First of all this problem doesn't exists in 1.3.1, it starts after I have updated the .net client to 1.3.3

The exception is being threw while i call

client.GetView(designName, viewName)

The View's object is not JSON, it's an serializable c# custom class....

dawheeler's picture
Asked 5 months 4 days ago
Latest activity 4 months 4 weeks ago

Updating to 1.3.1 failed

Our application is using 1.2.0 .net couchbase client, and we would like to update it to a newer version. We tried 1.3.1 and 1.3.3 and the update was a failure. We are getting these error messages on store and get commands:

"GetVBucket is implemented only for VBucketNodeLocator...

paulroberttaylor's picture
Asked 5 months 5 days ago
Latest activity 5 months 4 days ago

Couchbase as Membership database

Not directly related to the current SDK, but I'm curious to know if anyone has created a C# MVC membership site and used Couchbase as the back end?

zissop's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Net client 1.3.3

Hello

When we tried to upgrade from v1.2.9 to v.1.3.3 (after upgrading Couchbase to 2.5) we can't connect to the pools. Log says that the pool can't be initialized.

Reverting back to 1.2.9 and the problems gone.

Is it a known issue? What is the workaround?

Regards...

bryanfuselier's picture
Asked 5 months 1 week ago
Latest activity 5 months 6 days ago

Offline Windows applications

We are designing some software that will have an offline component to it running on windows 8 tablets. We plan to use Couchbase for its built-in replication capabilities to handle the offline side of things and keep the user working with the latest data it could access.

I'm wondering what...

abreddy's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

retrieve items from cache

Hi,

We are using couchbase in our application.First we need to check whether results exists in cache If so we have to retrieve from cache or else we should hit the database.

So How do I check whether results exist in cache.

ajebasingh's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Constructor hangs while trying to initialize

Hi,

I've been having an issue that began with the update to 1.3.3. When I try to initialize the constructor, it hangs almost all the time. I created a simple test application to test it out, and have verified across two test clusters I setup (with 2 nodes each).

I downloaded the...

Haik Nazlian's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 2 weeks ago

Client crashes during observe, in an event of a node failure.

While performing a sequence of inserts, I restart one of the cluster nodes.
ExecuteStore(StoreMode.Set, key: Guid.NewGuid().ToString(), value: Guid.NewGuid().ToString(), persistTo: PersistTo.Zero, replciateTo: ReplicateTo.One);

The node failure causes the .NET client to crash with...

Pages