The Azure Code Samples are currently available in English

Multi-Master Sample using .NET driver for Azure Cosmos DB for MongoDB API

door jasontho
Laatst bijgewerkt: 15-12-2018
Bewerken op GitHub

This sample demonstrates some multi-master scenarios using Azure Cosmos DB for MongoDB API. Utility code that may be useful in other applications is kept in MultiMasterSamples\Helpers.cs. Code in Program.cs is specific to the demonstration scenarios.


(steps to get up and running quickly)

  1. Open in Visual Studio, verify references and compile.
  2. Open app.config and enter your Cosmos DB connection string, database and collection name.


(Additional resources or related projects)

  • Cosmos DB Multi-Master on Docs: