Skip to content

Instantly share code, notes, and snippets.

@jeffrymorris
Created December 4, 2020 04:36
Show Gist options
  • Save jeffrymorris/3247ae9c8d991450b736ddd0ce1578a3 to your computer and use it in GitHub Desktop.
Save jeffrymorris/3247ae9c8d991450b736ddd0ce1578a3 to your computer and use it in GitHub Desktop.
var cluster = await Cluster.ConnectAsync(_options.Cluster, _options.UserName, _options.Password).ConfigureAwait(false);
var bucket = await cluster.BucketAsync(_options.Bucket).ConfigureAwait(false);
var collection = bucket.DefaultCollection();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment