Getting Started with Cosmos DB + EF Core
summary
Shows wiring Entity Framework Core to Azure Cosmos DB using the EF Core provider and demos a simple blog (Post/Author/Category) where EF writes three documents per aggregate until container names are overridden. Uses the portal QuickStart, the Cosmos DB Emulator (Windows) and the data migration tool to export JSON. Demonstrates setting container names per DbSet (including a reflection trick to map every DbSet), explains five consistency levels, and claims one migration handled 10× throughput while cutting cost roughly in half.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:08Agenda
- 4:41Consistency - Strong
- 4:59Consistency - Bounded Staleless
- 5:26Consistency - Session
- 5:51Consistency - Consistent Prefix
- 6:14Consistency - Eventual
- 23:35Data migration tool
- 25:44Cosmos DB Emulator
- 42:37EF Core Cosmos Task List
- 44:03Let's summarize
related talks
56mGetting 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
29mA Simple Blog Site
01h 01mServerless & Schemaless with Azure Functions and CosmosDB
29mA Simple Blog Site
