xaf-multi-tenant

Community

Scale SaaS apps with per-tenant data isolation.

Authorkashiash
Version1.0.0
Installs0

System Documentation

What problem does it solve?

XAF Multi-tenancy enables SaaS applications to serve multiple organizations with strict database isolation (separate DB per tenant) while sharing a single application codebase. It provides host UI for tenant administration and tenant UI for data access, backed by ITenantProvider and built-in tenant resolvers to route requests correctly.

Core Features & Use Cases

  • Separate DB per tenant for strong isolation and security.
  • Built-in tenant resolvers (TenantByEmailResolver, TenantByUserNameResolver) to determine the tenant from user identity.
  • ITenantProvider and per-tenant connection strings to route data access automatically.
  • Scoped services to avoid cross-tenant state and simplify per-tenant behavior.
  • Suitable for SaaS scenarios with per-tenant data partitioning, tenant onboarding, and admin roles management.

Quick Start

Add multi-tenancy to your XAF app by configuring AddMultiTenancy with a TenantResolver and migrate each tenant database.

Dependency Matrix

Required Modules

None required

Components

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: xaf-multi-tenant
Download link: https://github.com/kashiash/xaf-skills/archive/main.zip#xaf-multi-tenant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.