Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

traxxx's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks ago

GetView returns null IViewRow objects

Hi there,
I'm just learning the Couchbase .NET SDKs and I'm trying to query a view.
I've created (using some online examples) the by_name view on the beer-sample bucket:

function (doc, meta) {
if (doc.type && doc.type == "beer" && doc.name)
emit(...

ap's picture
Asked 4 months 1 day ago
Latest activity 4 months 1 day 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 4 days ago
Latest activity 4 months 1 day 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 4 days ago
Latest activity 4 months 4 days 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 4 months 2 weeks ago
Latest activity 4 months 1 week 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 4 months 2 weeks ago
Latest activity 4 months 2 weeks 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 4 months 3 weeks ago
Latest activity 4 months 2 weeks 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 4 months 3 weeks ago
Latest activity 4 months 2 weeks 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 4 months 3 weeks ago
Latest activity 4 months 3 weeks 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 4 months 3 weeks ago
Latest activity 4 months 3 weeks 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...

Pages