Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

tabination's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Operation is not valid due to the current state of the object. When publishing to windows server.

I have an application using the .net client. It works fine in VS and on my local machine in IIS 7. However when I publish the app on Windows 2012 IIS8, I get this exception.

[InvalidOperationException: Operation is not valid due to the current state of the object.]
Couchbase....

sunil.singh's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

.Net client 1.2.6: Using Views with multiple key values

Hi,

I have created a development view in Couchbase bucket with data of the following format:

{
"productId": "1-124DH9",
"productCode": "PCODE",
"type": "Example.Product"
}

The view created is -
function (doc, meta) {
if (doc....

nishanth484's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Question about KeyExists in .Net Client

I am using the KeyExists function. It does work most of the time. But I noticed sometimes, that it does return true, although there is no item in the cache.

I am trying to see if the item already exists in the cache or not.

I did not want to use the Get operation.

I have...

matthew.visser's picture
Asked 1 year 1 month ago
Latest activity 11 months 3 weeks ago

.NET GetJSON operation throws null reference exception

When I try to perform a GetJSON operation for a key that doesn't have any data associated with it, I get a null reference exception. Is this the expected behaviour? Looking at the source for the .NET client it seems that a null check is performed, but too late.

nishanth484's picture
Asked 1 year 2 months ago
Latest activity 1 year 1 month ago

Couchbase Append operation

I am trying to use append operation. After doing several append operations, is there any way I can have a string of values, instead of giant string.

Thanks

mindlube's picture
Asked 1 year 2 months ago
Latest activity 12 months 2 days ago

Increment/Decrement do they use integer or ulong values ?

In the .NET API the method signature is Increment (string, ulong, ulong, ...) and Decrement(string, ulong, ulong). However All the documentation refers to *integer* values for incr and descr values. Is this a documentation error? What should I use in my C# code? integer, uint, or ulong?

*...

tabination's picture
Asked 1 year 2 months ago
Latest activity 1 year 1 month ago

Can a View emit a JSON doc with the .net client?

I am new to couchbase and have been reading the documentation and testing with a .net project. I am trying to call a simple View that will return an array of documents with a certain type. The View return all of the IDs along with the document key/values in a dictionary array. Is it possible...

SkeLLLa's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Couchbase update view after add doc

Hello. I try to implement such scenario:
- create a doc and insert it into couchbase;
- update a view, that gets all docs of those type.

Here is a code:

var key = "my_key";
var res
...
pingmustard's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Key Size Limits with CouchBase/membase (again!)

Hi, is there any plan to re-configure key sizes in excess of 250? I know it was originally based on ASCII limits and standards, but that seems very antiquated as hardware get more powerful, and other products (velocity and built in .net cache?) support beyond this limit, Couchbase could break...

rille111's picture
Asked 1 year 2 months ago
Latest activity 9 months 3 weeks ago

When using Couchbase as Session State Provider, Session_onStart does not get hit upon first session start, why?

When hitting debug and the application is starting up, Session_OnStart() will not get hit when the default browser goes to the web.

When waiting for the application to startup and then deleting all cookies and hitting refresh - (OR using other browsers) - then Session_OnStart() gets...

Pages