GitHub repository: Azure-Samples/azure-cosmos-db-mongodb-dotnet-geo-readpreference
Primary language: C#
Description: This sample shows you how to use ReadPreference command against Azure Cosmos DB for MongoDB API account from a .NET application.