Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

Daftblight's picture
Asked 8 months 1 week ago
Latest activity 6 months 1 week ago

How to determine if ExecuteGet exceeded my timeout?

As of right now I have a timeout specified for how long a request can take using the .NET client. I am using ExecuteGet to get an IGetOperationResult...

ilyabreev's picture
Asked 8 months 1 week ago
Latest activity 6 months 1 week ago

How to get a request fail reason?

Hi everyone!

Sometimes we call ExecuteGetJson<T> method which returns result object with Success property set to false.
When...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

How to get result of a View in one couchbase server call .

When we try to get result from a view using this code

IView list = _cache.GetView(entityIndex.DesignDoc, entityIndex.View, true).Keys(keys);

if (list != null && list.Count() > 0)
results = list.ToList();

we get to see several calls to...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 6 months 2 weeks ago

JSON de-serialization issue

Hi,

The code below shows how we are using a View to fetch results.

IView list = _cache.GetView(entityIndex.DesignDoc, entityIndex.View, true).Keys(keys);

if (list != null && list.Count() > 0)
{
results = list.ToList();
}

The issue is that...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

What is the max size of index of a view

Is there any default Index size in Couchbase for a View?

We are seeing older objects disappearing once the View size increases to about 30,000 objects in our case.

The newer objects can be queried from the view.

Regards,
Sunil Singh

Albus Slartibartfast Dumbledore's picture
Asked 8 months 2 weeks ago
Latest activity 7 months 1 week ago

What is the best way to get documents after querying a view?

I've been pondering about this for a while now and have looked around on here and elsewhere for the answer but I am unable to find anything that answers a trivial question.

I've been developing in Clojure using the wonderful Couchbase-clj (...

nishanth484's picture
Asked 8 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Get Operation - Misses

I noticed, when I am making Get operation, for an existing object, it does not retrieve the item sometimes
and comes back with null and status id 0 and no exception.

It happens rarely, but I wanted to see if anybody else saw same kind of behavior.

I am 100% sure that the item...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

what is the best way to check if couchbase server is online using .net client

We have a requirement to check the availability of Couchbase at regular interval before performing any get() , search() or update() operation .

So that if Couchbase is not available at that moment we can avoid using Couchbase .

Regards,
Sunil singh

myhreman's picture
Asked 8 months 2 weeks ago

Exception trying to retrieve array of objects

Previous .NET Client: 1.2.1
Updated .NET Client: 1.2.6
Server version: 2.0.0
Server OS: Windows

We have stored an array structure (IEnumerable), containing two FormFilter objects:

...
tabination's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 3 weeks ago

Check the status of the client after initalization.

Is there any way to check if the client has initialized properly before making calls to it? Some kind of status that can be check or an event?

Pages