Microsoft Azure Cosmos DB .NET SDK Version 2
This project provides a client tools or utilities in .NET that makes it easy to interact with Azure Cosmos DB. Azure cosmos DB is published with nuget name Microsoft.Azure.DocumentDB.
Microsoft Azure Cosmos DB .NET SDK Version 3 is GA
Please try out the new v3 SDK.
Useful links:
- Get Started APP
- Samples
- Github samples
- MultiMaster samples
- Resource Model of Azure Cosmos DB Service
- Cosmos DB Resource URI
- Partitioning
- Introduction to SQL API of Azure Cosmos DB Service
- SDK API
- Using emulator
- Capture traces
- Release notes
Disclaimer
The implementation in this project is intended for reference purpose only.
Minimum Requirements
.Net 4.5
Consuming the official Microsoft Azure Cosmos DB SDK
From Package Manager Console
Install-Package Microsoft.Azure.DocumentDB
SDK release notes
https://github.com/Azure/azure-documentdb-dotnet/blob/master/changelog.md
https://docs.microsoft.com/azure/cosmos-db/sql-api-sdk-dotnet
Performance tips
https://docs.microsoft.com/azure/cosmos-db/performance-tips
Diagnose and troubleshooting issues
https://docs.microsoft.com/azure/cosmos-db/troubleshoot-dot-net-sdk
Samples
https://docs.microsoft.com/azure/cosmos-db/sql-api-dotnet-samples is a good starting point.
Also great source of samples can be found at https://github.com/Azure/azure-documentdb-dotnet/tree/master/samples