.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://220.127.116.11/pools"/> <add uri="http://18.104.22.168/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", "");