When using the .NET SDK client, if a “bucket” element is present in the configuration in the app.config, calling ICluster.OpenBucket() always tries to open a bucket called “default”. https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/Cluster.cs#L108
It seems like if there is only one bucket element present in the configuration, that value should be considered and used first. Otherwise we are forced to hard code the name of the bucket in the source code, or we have to add our own logic to choose the first bucket in the configuration.
Our bucket names can vary between environments, so hard-coding is not really an option, so we have had to come up with another work around.
It would be nice if this could be addressed in the SDK. Is there a place to file issues? Didn’t see it on the Git repo.