~/talk

How to Build a Multi-Tenant ASP.NET Core Application

Talkat DevDays Europe 2024 · 2024-05-20..05-24· [databases]
slides:none on file

Claims a production‑grade multitenancy stack built on ASP.NET Core and the open‑source ABP Framework with 12K stars and 20 million downloads, implemented as a modular, microservice‑compatible platform with 200+ releases. Describes six ways to resolve active tenant (claims, query, route, header, cookie, subdomain), IMultitenant entities plus automatic tenant ID wiring, per‑tenant connection strings stored in a master table, EF Core Global query filters and SQL row‑level security options, disposable tenant‑switch scope, and pragmatic migration and feature‑flag strategies.

AI-written summary · about

  1. 0:00Multi-tenant ASP.NET Core intro
  2. 4:48Advantages and challenges of multitenancy
  3. 11:57Real-world multitenancy strategies
  4. 18:05Finding tenant in HTTP requests
  5. 23:52Data isolation techniques
  6. 30:13Automating tenant ID assignment
  7. 31:40Tenant-specific database connections
  8. 34:13Dynamic tenant switching
  9. 37:05Migrations in multitenant systems
  10. 39:15Subscription feature system
  11. 41:24Summary and resources
  12. 42:07Q&A
~/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.