ABP Framework — Multi-Tenancy
CommunityWire SaaS tenant isolation in ABP v10.4.
Software Engineering#multi-tenancy#data isolation#abp framework#imultitenant#tenant resolver#icurrenttenant#tenant database
Authorburakdmir
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ABP multi-tenancy setup guidance solves the confusion around correctly resolving the current tenant and ensuring data isolation between Host and Tenant contexts without leaking or mixing tenant data.
Core Features & Use Cases
- Tenant identification & scope: Explains how
IMultiTenantwith nullableTenantIdandICurrentTenantdrive correct behavior for Host vs Tenant data. - Tenant resolution strategies: Covers resolver ordering and the common ways to determine tenant (user claims, query string, route, header, cookie, and subdomain/domain patterns), including custom resolvers and fallback tenant.
- Data filtering control: Shows how ABP’s multi-tenancy filter works and how to disable it safely with
IDataFilter.Disable<IMultiTenant>()for specific cross-tenant/admin use cases. - Database isolation models: Compares single database, database-per-tenant, and hybrid approaches and what they imply for implementation choices.
Quick Start
Ask an AI coding assistant to configure ABP Framework v10.4 multi-tenancy by enabling AbpMultiTenancyOptions, implementing tenant-aware entities with IMultiTenant, and setting up a subdomain tenant resolver while ensuring Host operations use CurrentTenant.Change(null).
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ABP Framework — Multi-Tenancy Download link: https://github.com/burakdmir/abp-skills/archive/main.zip#abp-framework-multi-tenancy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.