2021-09-03 20:00:42 +03:00
# 🚨Deprecated 🚨
## We've recently announced the deprecation of the Azure Cosmos DB .NET SDK Version 2. Starting August 2024 Microsoft will no longer provide support for this SDK. Existing applications using this library will continue to work as-is. We strongly recommend upgrading to the latest [version of the SDK](https://github.com/Azure/azure-cosmos-dotnet-v3). For details on how to migrate your existing applications, follow our [migration guide](https://docs.microsoft.com/en-us/azure/cosmos-db/sql/migrate-dotnet-v3?tabs=dotnet-v3).
2019-07-17 16:26:31 +03:00
# Microsoft Azure Cosmos DB .NET SDK Version 2
2018-03-06 20:50:54 +03:00
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 ](https://www.nuget.org/packages/Microsoft.Azure.DocumentDB/ ).
2019-07-15 21:12:37 +03:00
## Useful links:
2019-03-06 00:52:28 +03:00
- [Get Started APP ](https://docs.microsoft.com/azure/cosmos-db/sql-api-get-started )
- [Samples ](https://docs.microsoft.com/azure/cosmos-db/sql-api-dotnet-samples )
2018-03-06 20:59:46 +03:00
- [Github samples ](https://github.com/Azure/azure-documentdb-dotnet/tree/master/samples )
2018-10-18 22:15:24 +03:00
- [MultiMaster samples ](https://github.com/markjbrown/azure-cosmosdb-dotnet/tree/master/samples/MultiMaster )
2019-03-06 00:52:28 +03:00
- [Resource Model of Azure Cosmos DB Service ]( https://docs.microsoft.com/azure/cosmos-db/sql-api-resources )
- [Cosmos DB Resource URI ](https://docs.microsoft.com/rest/api/documentdb/documentdb-resource-uri-syntax-for-rest )
- [Partitioning ](https://docs.microsoft.com/azure/cosmos-db/partition-data )
- [Introduction to SQL API of Azure Cosmos DB Service ](https://docs.microsoft.com/azure/cosmos-db/sql-api-sql-query )
- [SDK API ](https://docs.microsoft.com/dotnet/api/overview/azure/cosmosdb?view=azure-dotnet )
2018-03-06 20:50:54 +03:00
- [Using emulator ](https://github.com/Azure/azure-documentdb-dotnet/blob/master/docs/documentdb-nosql-local-emulator.md )
- [Capture traces ](https://github.com/Azure/azure-documentdb-dotnet/blob/master/docs/documentdb-sdk_capture_etl.md )
- [Release notes ](https://github.com/Azure/azure-documentdb-dotnet/blob/master/changelog.md )
2018-02-07 03:07:26 +03:00
2018-03-06 21:08:18 +03:00
2018-02-07 03:07:26 +03:00
## Disclaimer
2018-02-07 03:22:02 +03:00
The implementation in this project is intended for reference purpose only.
2018-02-07 03:07:26 +03:00
2018-03-06 21:08:18 +03:00
## Minimum Requirements
.Net 4.5
2018-02-07 04:01:47 +03:00
## Consuming the official Microsoft Azure Cosmos DB SDK
2018-02-07 03:07:26 +03:00
From Package Manager Console
2018-03-06 21:08:18 +03:00
**Install-Package Microsoft.Azure.DocumentDB**
2018-02-07 03:07:26 +03:00
## SDK release notes
https://github.com/Azure/azure-documentdb-dotnet/blob/master/changelog.md
2019-03-06 00:52:28 +03:00
https://docs.microsoft.com/azure/cosmos-db/sql-api-sdk-dotnet
2018-02-07 03:07:26 +03:00
2018-03-06 21:08:18 +03:00
## Performance tips
2019-03-06 00:52:28 +03:00
https://docs.microsoft.com/azure/cosmos-db/performance-tips
2018-03-06 21:08:18 +03:00
2019-03-06 00:54:00 +03:00
## Diagnose and troubleshooting issues
https://docs.microsoft.com/azure/cosmos-db/troubleshoot-dot-net-sdk
2018-02-07 03:07:26 +03:00
## Samples
2019-03-06 00:52:28 +03:00
https://docs.microsoft.com/azure/cosmos-db/sql-api-dotnet-samples is a good starting point.
2018-03-06 21:08:18 +03:00
Also great source of samples can be found at https://github.com/Azure/azure-documentdb-dotnet/tree/master/samples