Getting Started with Cosmos DB + EF Core
summary
Shows how to wire Azure Cosmos DB to Entity Framework Core, including the quickstart MVC app that runs with F5 and the local Cosmos DB emulator for offline development. Demonstrates configuring AddEntityFrameworkCosmos/UseCosmos with the endpoint/key, overriding the default container name from the DbContext name, setting per-entity containers and a reflection helper to map DbSets to collections. Covers extracting data with the data migration tool (exports JSON), notes the Entity Framework Cosmos provider is preview/renamed and UDFs must run as JavaScript in the portal.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:03Agenda
- 5:06Consistency - Strong
- 5:54Consistency - Session
- 6:23Consistency - Consistent Prefix
- 6:53Consistency - Eventual
- 24:12Data migration tool
- 26:28Cosmos DB Emulator
- 43:54EF Core Cosmos Task List
- 44:42Let's summarize
related talks
45mGetting Started with Cosmos DB + EF Core
01h 01mGetting Started with Cosmos DB + EF Core
56mGetting Started with Cosmos DB + EF Core
14mUse EF Core to transition from SQL Server to Azure Cosmos DB
54mSharing a story of cosmic journey with Cosmos DB
44mEF Core database model first - take it to the next level with Power Tools CLI
01h 01mServerless & Schemaless with Azure Functions and CosmosDB
15mEffortless GraphQL: Data API Builder with Azure Cosmos DB Emulator for Cost-Free Cloud Simulation
