Guided project - Build a .NET app with Azure Cosmos DB for NoSQL

Beginner
Developer
Azure Cosmos DB

Connect to an Azure Cosmos DB for NoSQL account using C# and .NET to perform common operations. Your code creates resources, coordinate multiple operations, and query items.

Note

This module is a Guided Project where you complete an end-to-end project by following step-by-step instructions.

Learning objectives

In this module, you practice how to:

  • Connect to an Azure Cosmos DB for NoSQL account using the .NET SDK.
  • Create Azure Cosmos DB for NoSQL database, container, and item resources.
  • Execute multiple Azure Cosmos DB for NoSQL .NET SDK operations together as a transaction.
  • Query Azure Cosmos DB for NoSQL items using language-intergrated query (LINQ) and the query language.

Prerequisites

  • Experience with Azure Cosmos DB concepts such as databases, containers, and items

  • Experience writing queries for Azure Cosmos DB for NoSQL

  • Ability to execute scripts with Azure CLI

  • Experience with top-level statement projects in .NET 6 or later

  • Ability to write C# at an intermediate level

  • Developing in browser:

  • Developing locally: