How to test connectivity to couchbase server using .NET sdk ?
I'm trying to test connectivity to couchbase server using the .NET sdk.
I've tried to get a test key in order to do it, but I'm getting "null" (instead of getting an exception mention that couchbase server is done).
I've also read this:
But it doesn't say anything about testing connectivity from an application code.
Is there any way of testing connection to couchbase server via code ?
You can use the CouchbaseClient.Stats() method to get state of the cluster.