Reputation: 1027
I am working on migration from .NET SDK 2.7 to .NET SDK 3.0. Couchbase server 6.0.
This code throws NullReferenceException
. I can't understand what I am doing wrong. I can't put the exception call stack. The site tells me that I have too much code or exception should be marked as code.
var options = new ClusterOptions()
.WithConnectionString("http://192.168.1.120:8091") //Node's IP
.WithCredentials("User", "Password")
.WithBuckets("SomeBucket");
var cluster = await Cluster.ConnectAsync(options);
Upvotes: 1
Views: 370