Skip to content

Instantly share code, notes, and snippets.

@lohithgn
Last active March 13, 2018 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lohithgn/075a0fa3e6865047577452d2948031dd to your computer and use it in GitHub Desktop.
Save lohithgn/075a0fa3e6865047577452d2948031dd to your computer and use it in GitHub Desktop.
string endpointUri = "https://localhost:8081";
string authKey = "<auth key>";
string dbName = "VolcanoesDB";
string collectionName = "Volcanoes";
using (DocumentClient client = new DocumentClient(new Uri(endpointUri), authKey))
{
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment