.NET SDK - StoreJson and Multiple Buckets
First question - how can we get StoreJson() method to allow to set expiration datetime? There is no overload for this method that I can find.
Second question - whats is the best way to implement the client config when you want to connect to multiple buckets?
If I am using the below in my app.config
<couchbase> <servers bucket="firstbucket" bucketPassword=""> <add uri="http://188.8.131.52/pools"/> <add uri="http://184.108.40.206/pools"/> </servers> </couchbase>
But I want to connect to a different bucket (but same server nodes), can I simply use:
CouchbaseClient client = new CouchbaseClient("otherbucket", "");