Getting Started with Cosmos DB + EF Core
summary
Shows how to wire EF Core to Cosmos DB, demonstrates the Azure QuickStart sample, the Cosmos DB emulator and the data migration tool, and walks through configuring container names so EF maps posts, authors and categories into chosen collections. Claims moving from SQL halved monthly cost and allowed tenfold higher ingest; a Redis-to-Cosmos move cut $150 → ~$30. Uses the Cosmos API (DocumentDB), tests locally, and exercises the EF Core provider with polymorphic discriminators and per-entity container mapping.
AI-written summary · about
chapters (32)
- 0:00Introduction
- 1:25Agenda
- 1:49What is Cosmos DB
- 2:27API
- 3:38Global Distribution
- 4:52Consistency Levels
- 9:20Comprehensive SLA
- 9:52Why Cosmos DB
- 11:03Cost
- 12:21Capacity Calculator
- 15:05Cost Savings
- 16:36Getting Started
- 17:22Choosing a Platform
- 18:08Download Sample Application
- 21:31Data Explorer
- 22:01Creating Records
- 23:05Viewing Records
- 23:24Creating a Query
- 26:16Creating a Server Procedure
- 26:28Creating a UserDefined Function
- 28:07Sample Code
- 29:54Data Migration Tool
- 31:03Data Migration Example
- 32:24Check Data Migration
- 32:44Emulator
- 33:12Cosmos To Be
- 37:16Rename
- 37:40Demo App
- 42:05Changing Default Container Name
- 49:44ToDo List
- 50:36Recap
- 51:31Questions
related talks
56mGetting Started with Cosmos DB + EF Core
45mGetting 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
01h 01mServerless & Schemaless with Azure Functions and CosmosDB
08mGetting Started with Azure Cosmos DB
27mIntegrating Azure Cosmos DB with the Azure Ecosystem
