page_type | languages | products | description | urlFragment | ||
---|---|---|---|---|---|---|
sample |
|
|
This sample demonstrates some multi-master scenarios using Azure Cosmos DB for MongoDB API. |
azure-cosmos-db-mongodb-dotnet-multi-master |
Multi-Master Sample using .NET driver for Azure Cosmos DB for MongoDB API
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.
Quickstart
(steps to get up and running quickly)
- Open in Visual Studio, verify references and compile.
- Open app.config and enter your Cosmos DB connection string, database and collection name.
Resources
(Additional resources or related projects)
- Cosmos DB Multi-Master on Docs: https://aka.ms/cosmosdb-multi-master