Microsoft.Azure.Cosmos 3.31.1-preview

Prefix Reserved
This is a prerelease version of Microsoft.Azure.Cosmos.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Azure.Cosmos --version 3.31.1-preview
                    
NuGet\Install-Package Microsoft.Azure.Cosmos -Version 3.31.1-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.31.1-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.31.1-preview" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Azure.Cosmos" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Azure.Cosmos --version 3.31.1-preview
                    
#r "nuget: Microsoft.Azure.Cosmos, 3.31.1-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Azure.Cosmos@3.31.1-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Azure.Cosmos&version=3.31.1-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Azure.Cosmos&version=3.31.1-preview&prerelease
                    
Install as a Cake Tool

This client library enables client applications to connect to Azure Cosmos via the SQL API. Azure Cosmos is a globally distributed, multi-model database service. For more information, refer to https://azure.microsoft.com/services/cosmos-db/.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (430)

Showing the top 5 NuGet packages that depend on Microsoft.Azure.Cosmos:

Package Downloads
Microsoft.Azure.Cosmos.Table

This client library enables working with the Microsoft Azure CosmosDB Table storage, with support for global distribution, automatic secondary indexes, dedicated throughput, and single-digit millisecond latency. See "Getting started with the Azure Cosmos DB: Table API" at https://aka.ms/premiumtables. For reporting issue, please file it at: https://github.com/Azure/azure-cosmos-table-dotnet/issues.

Microsoft.EntityFrameworkCore.Cosmos

Azure Cosmos provider for Entity Framework Core.

Microsoft.Azure.WebJobs.Extensions.CosmosDB

This package contains binding extensions for Azure Cosmos DB.

AspNetCore.HealthChecks.CosmosDb

HealthChecks.CosmosDb is the health check package for Azure CosmosDb.

Microsoft.Azure.Functions.Worker.Extensions.CosmosDB

Azure Cosmos DB extensions for .NET isolated functions

GitHub repositories (63)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Azure.Cosmos:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
dotnet/orleans
Cloud Native application framework for .NET
MassTransit/MassTransit
Distributed Application Framework for .NET
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
thepirat000/Audit.NET
An extensible framework to audit executing operations in .NET and .NET Core.
MicrosoftLearning/AZ-204-DevelopingSolutionsforMicrosoftAzure
AZ-204: Developing solutions for Microsoft Azure
Azure/azure-functions-host
The host/runtime that powers Azure Functions
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
microsoft/coyote
Coyote is a library and tool for testing concurrent C# code and deterministically reproducing bugs.
OfficeDev/Microsoft-Teams-Samples
Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
Azure/data-api-builder
Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
drasi-project/drasi-platform
The Data Change Processing platform
Azure/azure-mcp
The Azure MCP Server, bringing the power of Azure to your agents.
UiPath/CoreWF
WF runtime ported to work on .NET 6
SteeltoeOSS/Steeltoe
.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
Version Downloads Last Updated
3.57.0-preview.0 314 11/25/2025
3.56.0 26,798 11/25/2025
3.56.0-preview.0 1,419 11/15/2025
3.55.0 121,918 11/15/2025
3.55.0-preview.1 1,803 11/3/2025
3.55.0-preview.0 6,529 10/4/2025
3.54.1 205,665 11/3/2025
3.54.0 672,371 10/4/2025
3.54.0-preview.2 181 10/19/2025
3.54.0-preview.1 12,594 8/28/2025
3.54.0-preview.0 9,158 8/14/2025
3.53.2 27,924 10/17/2025
3.53.1 1,162,024 8/28/2025
3.53.0 453,020 8/13/2025
3.53.0-preview.0 48,322 6/14/2025
3.52.1 855,770 7/17/2025
3.52.0 1,472,606 6/14/2025
3.52.0-preview.0 11,758 5/16/2025
3.51.0 1,903,035 5/16/2025
3.51.0-preview.0 36,014 5/10/2025
3.50.0 384,219 5/10/2025
3.50.0-preview.1 229 5/9/2025
3.50.0-preview.0 24,459 4/18/2025
3.49.1 85,573 5/9/2025
3.49.0 1,316,455 4/18/2025
3.49.0-preview.1 3,450 4/13/2025
3.49.0-preview.0 8,179 3/21/2025
3.48.1 724,840 4/13/2025
3.48.0 1,207,587 3/21/2025
3.48.0-preview.2 20,200 2/28/2025
3.48.0-preview.1 2,724 2/24/2025
3.48.0-preview.0 79,826 2/11/2025
3.47.2 1,949,519 2/28/2025
3.47.1 783,228 2/19/2025
3.47.0 587,743 2/11/2025
3.47.0-preview.1 22,020 1/28/2025
3.47.0-preview.0 37,754 11/19/2024
3.46.1 2,128,819 1/9/2025
3.46.0 3,968,016 11/19/2024
3.46.0-preview.2 40,911 11/13/2024
3.46.0-preview.1 420 11/12/2024
3.46.0-preview.0 8,936 10/25/2024
3.45.2 1,775,761 11/13/2024
3.45.1 197,917 11/11/2024
3.45.0 1,375,986 10/25/2024
3.45.0-preview.1 12,718 10/16/2024
3.45.0-preview.0 13,544 10/9/2024
3.44.1 1,795,380 10/15/2024
3.44.0 750,668 10/9/2024
3.44.0-preview.1 26,589 9/19/2024
3.44.0-preview.0 37,394 9/4/2024
3.43.1 1,598,164 9/19/2024
3.43.0 1,293,715 9/4/2024
3.43.0-preview.0 19,835 7/26/2024
3.42.0 3,277,050 7/25/2024
3.42.0-preview.0 25,088 7/9/2024
3.41.0 4,591,973 6/12/2024
3.41.0-preview.0 154,468 5/18/2024
3.40.0 2,134,565 5/18/2024
3.40.0-preview.2 4,363 5/18/2024
3.40.0-preview.1 25,918 4/18/2024
3.40.0-preview.0 4,561 4/15/2024
3.39.2 321,141 5/18/2024
3.39.1 3,976,297 4/18/2024
3.39.0 418,906 4/15/2024
3.39.0-preview.1 70,076 2/8/2024
3.39.0-preview.0 19,892 2/1/2024
3.38.1 4,535,489 2/8/2024
3.38.0 1,064,065 2/1/2024
3.37.1 1,828,186 1/3/2024
3.37.1-preview 49,584 1/3/2024
3.37.0 4,307,344 11/20/2023
3.37.0-preview 105,792 11/20/2023
3.36.0 1,572,489 10/24/2023
3.36.0-preview 16,743 10/24/2023
3.35.4 7,252,587 9/15/2023
3.35.4-preview 11,387 9/18/2023
3.35.3 1,953,552 8/10/2023
3.35.3-preview 39,476 8/10/2023
3.35.2 1,490,490 7/17/2023
3.35.2-preview 18,478 7/17/2023
3.35.1 976,528 6/27/2023
3.35.1-preview 6,700 6/27/2023
3.35.0 543,494 6/19/2023
3.35.0-preview 3,602 6/21/2023
3.34.0 2,339,081 5/18/2023
3.34.0-preview 14,591 5/18/2023
3.33.0 1,537,634 4/28/2023
3.33.0-preview 12,617 4/28/2023
3.32.3 1,872,114 3/30/2023
3.32.3-preview 56,818 3/30/2023
3.31.2 5,660,760 11/7/2022
3.31.2-preview 124,497 11/29/2022
3.31.1 728,334 10/31/2022
3.31.1-preview 18,995 10/31/2022
3.31.0 2,929,910 10/3/2022
3.31.0-preview 22,707 10/5/2022
3.30.1 3,302,788 9/1/2022
3.30.1-preview 14,192 9/1/2022
3.30.0 749,133 8/19/2022
3.30.0-preview 7,764 8/19/2022
3.29.0 4,656,601 7/11/2022
3.29.0-preview 24,236 7/11/2022
3.28.0 1,948,332 6/14/2022
3.28.0-preview 79,831 6/14/2022
3.27.2 628,091 6/2/2022
3.27.2-preview 3,755 6/2/2022
3.27.1 600,459 5/25/2022
3.27.1-preview 4,490 5/25/2022
3.27.0 1,308,060 5/6/2022
3.27.0-preview 4,234 5/6/2022
3.26.2 136,776 5/5/2022
3.26.1 2,384,511 3/17/2022
3.26.0 398,409 3/12/2022
3.26.0-preview 25,104 2/28/2022
3.25.0 1,512,996 2/18/2022
3.25.0-preview 3,085 2/18/2022
3.24.0 2,014,939 2/1/2022
3.24.0-preview 5,360 2/1/2022
3.23.0 5,259,943 11/13/2021
3.23.0-preview 80,295 11/13/2021
3.22.1 1,450,661 10/28/2021
3.22.1-preview 4,300 10/29/2021
3.22.0 437,764 10/18/2021
3.22.0-preview 19,793 10/7/2021
3.21.0 4,399,030 9/10/2021
3.21.0-preview 56,756 9/10/2021
3.20.1 4,150,580 7/1/2021
3.20.1-preview 6,237 7/7/2021
3.20.0 821,403 6/21/2021
3.20.0-preview 9,060 6/21/2021
3.19.0 1,434,085 5/25/2021
3.19.0-preview1 7,123 5/18/2021
3.19.0-preview 31,356 4/27/2021
3.18.1-preview 3,231 6/14/2021
3.18.0 2,045,401 4/26/2021
3.18.0-preview 37,492 3/18/2021
3.17.1 1,355,996 3/19/2021
3.17.0 927,159 3/2/2021
3.17.0-preview1 4,973 3/2/2021
3.17.0-preview 9,959 2/15/2021
3.16.0 2,682,899 1/12/2021
3.15.2-preview 82,982 11/18/2020
3.15.1 1,498,468 12/17/2020
3.15.1-preview 18,786 11/5/2020
3.15.0 1,559,876 11/18/2020
3.15.0-preview 14,461 10/21/2020
3.14.0-preview 4,523 10/9/2020
3.13.0 801,867 9/23/2020
3.13.0-preview 24,584 8/13/2020
3.12.0 2,684,141 8/5/2020
3.11.1-preview 3,389 10/2/2020
3.11.0 1,034,260 7/7/2020
3.11.0-preview 20,617 7/7/2020
3.10.1 666,289 6/18/2020
3.9.1 951,428 5/19/2020
3.9.1-preview 35,269 5/19/2020
3.9.0-preview3 6,458 5/11/2020
3.9.0-preview2 5,778 5/6/2020
3.9.0-preview 6,568 4/28/2020
3.8.0 6,355,922 4/7/2020
3.8.0-preview 7,835 4/15/2020
3.7.1-preview 4,524 3/31/2020
3.7.0 364,356 3/26/2020
3.7.0-preview2 6,847 3/9/2020
3.7.0-preview 24,771 2/26/2020
3.6.0 2,405,689 1/23/2020
3.5.1 900,526 12/11/2019
3.5.0 231,038 12/3/2019
3.4.1 461,544 11/7/2019
3.4.0 118,017 11/4/2019
3.3.3 1,086,762 10/30/2019
3.3.2 204,602 10/16/2019
3.3.1 100,204 10/11/2019
3.3.0 97,492 10/9/2019
3.2.0 756,087 9/18/2019
3.2.0-preview2 16,193 9/10/2019
3.2.0-preview 21,834 8/12/2019
3.1.1 1,031,315 8/12/2019
3.0.0 1,821,915 7/11/2019
3.0.0-rc1 4,040 7/1/2019
3.0.0-preview 11,272 11/29/2018

The change log for this SDK is made available at https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/changelog.md at the time of release.