~/talk

Use EF Core to transition from SQL Server to Azure Cosmos DB

Talkat Azure Cosmos DB Conf 2024 · on Tuesday, 2024-04-16· [databases]
slides:none on file

Migrates an EF Core app from SQL Server to Azure Cosmos DB by switching the provider and EF Core with Cosmos DB provider, changing the model to collocate data so each API’s data lives in a single document. Builds embedded subdocuments (e.g. embedded creator and topWriters, episode summaries like episodeCount and firstAirDate), updates addEpisode to load episodes/writer and populate duplicates, and runs the demo: same JSON returned but with simple Cosmos reads. Notes slower writes and potential consistency tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30API
  3. 1:02Traditional relational model
  4. 1:46EF Core with SQL
  5. 2:48Plan
  6. 3:04Document Databases
  7. 3:30Cosmos Provider
  8. 3:57Model Change
  9. 5:14Entity Types
  10. 11:01Recap
  11. 11:25Summary
  12. 12:25Thanks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.