![]() |
VOOZH | about |
Requires NuGet 3.6 or higher.
dotnet add package Microsoft.EntityFrameworkCore.Cosmos --version 10.0.9
NuGet\Install-Package Microsoft.EntityFrameworkCore.Cosmos -Version 10.0.9
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="10.0.9" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Cosmos" Version="10.0.9" />Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" />Project file
paket add Microsoft.EntityFrameworkCore.Cosmos --version 10.0.9
#r "nuget: Microsoft.EntityFrameworkCore.Cosmos, 10.0.9"
#:package Microsoft.EntityFrameworkCore.Cosmos@10.0.9
#addin nuget:?package=Microsoft.EntityFrameworkCore.Cosmos&version=10.0.9Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Cosmos&version=10.0.9Install as a Cake Tool
Microsoft.EntityFrameworkCore.Cosmos is the EF Core database provider package for Azure Cosmos DB.
Call the UseCosmos method to choose the Azure Cosmos DB database provider for your DbContext. For example:
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseCosmos(
"https://localhost:8081",
"C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
databaseName: "OrdersDB");
See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.
See Microsoft SQL Server EF Core Database Provider for more information about the features of this database provider.
If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.Cosmos:
| Package | Downloads |
|---|---|
|
Service.Extensions.EntityFramework.Cosmos
Extensions to provide consistent configurations and patterns for your service. |
|
|
Aspire.Microsoft.EntityFrameworkCore.Cosmos
A Microsoft Azure Cosmos DB provider for Entity Framework Core that integrates with Aspire, including connection pooling, logging, and telemetry. |
|
|
EntityFrameworkCore.Initialization
Extension methods which allow each DbContext to be initialized & destroyed independently based on its Model. |
|
|
BridgingIT.DevKit.Infrastructure.EntityFramework.Cosmos
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs. |
|
|
AspNetCore.Identity.CosmosDb
.NET 10 ASP.NET Core Identity provider for Azure Cosmos DB with EF Core Cosmos support for users, roles, claims, tokens, external logins, and passkeys. |
Showing the top 13 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.Cosmos:
| Repository | Stars |
|---|---|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
dotnet/skills
Repository for skills to assist AI coding agents with .NET and C#
|
|
|
masastack/MASA.Framework
.NET next-generation microservice development framework, which provides cloud native best practices based on Dapr.
|
|
|
Jcparkyn/nodexr
Graphical regular expression editor
|
|
|
JonPSmith/EfCore.TestSupport
Tools for helping in unit testing applications that use Entity Framework Core
|
|
|
ProfessionalCSharp/ProfessionalCSharp2021
Source code for Professional C# and .NET 2021 Edition (with updates for C# 11 and .NET 7)
|
|
| okyrylchuk/dotnet6_features | |
|
ProfessionalCSharp/MoreSamples
Additional code samples the book series Professional C#, Wrox Press
|
|
|
microsoft/TailwindTraders-Backend
Tailwind Traders Backend Services
|
|
|
CommunityToolkit/Datasync
A collection of libraries that implement a client-server system used for synchronizing data from a cloud-based database.
|
|
|
Azure/azure-mobile-apps
Build better mobile applications using Azure Mobile Apps
|
|
|
PacktPublishing/Software-Architecture-with-C-Sharp-12-and-.NET-8-4E
Code Repository for Software Architecture with .NET 8 Fourth Edition, Published by Packt
|
|
|
PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure
Pragmatic Microservices with C# and Azure, published by Packt
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.5.26302.115 | 79 | 6/9/2026 |
| 11.0.0-preview.4.26230.115 | 442 | 5/12/2026 |
| 11.0.0-preview.3.26207.106 | 452 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 210 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 147 | 2/10/2026 |
| 10.0.9 | 8,732 | 6/9/2026 |
| 10.0.8 | 57,002 | 5/12/2026 |
| 10.0.7 | 106,933 | 4/21/2026 |
| 10.0.6 | 21,241 | 4/14/2026 |
| 10.0.5 | 92,617 | 3/12/2026 |
| 10.0.4 | 4,832 | 3/10/2026 |
| 9.0.17 | 860 | 6/9/2026 |
| 9.0.16 | 5,237 | 5/12/2026 |
| 9.0.15 | 32,239 | 4/14/2026 |
| 9.0.14 | 18,539 | 3/10/2026 |
| 9.0.13 | 20,395 | 2/10/2026 |
| 8.0.28 | 922 | 6/9/2026 |
| 8.0.27 | 3,390 | 5/12/2026 |
| 8.0.26 | 4,514 | 4/14/2026 |
| 8.0.25 | 12,460 | 3/10/2026 |