.NET SDK for Cosmos DB

say it: “DOT net ESS-DEE-KAY for KOZ-mohs DEE-BEE” /ˈdɑt nɛt ˌɛs di ˈkeɪ fɔr ˈkɑzmoʊs ˌdiˈbi/

The C# library for working with Cosmos DB.

What does .NET SDK for Cosmos DB do?

The .NET SDK (Microsoft.Azure.Cosmos) provides CosmosClient to read, write and query items from C#.

var client = new CosmosClient(connectionString);
var container = client.GetContainer("shop", "orders");
await container.CreateItemAsync(order, new PartitionKey(order.CustomerId));

Level: Journeyman · More Cosmos DB terms at this level

Updated