ICouchbaseClientConfiguration couchconfig = null;
couchconfig = new CouchbaseClientConfiguration
{
Bucket = “latestbucket”,
// Password = “private”
};
couchconfig.Urls.Add(new Uri(“http://127.0.0.1:8091”));
var couchclient = new CouchbaseClient(couchconfig);
var latlong =
@"{
““name””: ““Old Yankee Ale””,
"“lat”": 5.00,
"“long”": 0,
"“city”": 0,
"“countrylatest”": 0
}";
var idlatest = "lattest";
var bucket = couchclient.Get(idlatest);
if (bucket==null)
{
var resultclientr = couchclient.Store(StoreMode.Set, idlatest, latlong);
}
resultclientr returns false
is there any thing wrong i am using couchbase net client 2.2.5.0