⬇️Microsoft samples

Quickstart

Get started with the Azure Cosmos DB client library for .NET to create databases, containers, and items within your account. Follow these steps to install the package and try out example code for basic tasks.

Prerequisites

  • An Azure account with an active subscription.

  • .NET 6.0 or later

  • Azure Command-Line Interface (CLI) or Azure PowerShell

Examples for Azure Cosmos DB for NoSQL SDK for .NET

The cosmos-db-nosql-dotnet-samples GitHub repository includes multiple sample projects. These projects illustrate how to perform common operations on Azure Cosmos DB for NoSQL resources.

Prerequisites

  • An Azure account with an active subscription. Without a credit card or an Azure subscription, you can set up a free Try Azure Cosmos DB account.

  • Azure Cosmos DB for NoSQL account.

  • .NET 6.0 or later

  • Azure Command-Line Interface (CLI) or Azure PowerShell

Last updated