Get and Remove operation not working
Hi All,
I am using couchbase server(memcached) 1.8 installed on windows 7 x64. Using the .NET client library v1.1 im tring to connect to Couchbase server and is successful. I am able to store objects to cache and from cocuchebase web interface we can see inserted item keys in the databucket. But Get and Remove operation is not working. Can you please pointout the possible causes of this issue?
Regards
Bijesh
Hi Mikew,
It's working fine with simple string item, but we found that when we add an item like complex object CouchBase not supporting the Get and Remove.
I am using like code below,
"2020a489-b5a9-4916-a37a-b00ce3dba302" is the key value of the item in the CouchBase.
Remove,
Var result = client.ExecuteRemove("2020a489-b5a9-4916-a37a-b00ce3dba302");
Get,
Beer objBeer = client.Get("2020a489-b5a9-4916-a37a-b00ce3dba302");
Are your complex types marked as Serializable?
[Serializable]
public class Beer
{
...
}
Can you post the code that you wrote that is having problems?