E24: Multi Tenancy with ASP.Net Boilerplate
Channel: Lee Richardson
Date: 2019-12-10

In this episode Lee explains what multi-tenancy is and how ASP.Net Boilerplate makes implementing it super easy for your next ASP.Net web project.  After showing the four main multi-tenancy types (Multiple Deployment - Multiple Database, Single Deployment - Single Database, Single Deployment - Multiple Database, and Single Deployment - Hybrid Databases), he shows how to implement them in ABP.  He shows how to limit database entities to tenants, how to lock down permissions to tenants or hosts, and he finishes up with a few tricks like retrieving the tenant id, disabling the tenancy filter to show all records, and impersonating other tenants.

Code for this episode is available here: https://github.com/lprichar/LeesStore/pull/4/files