Skip to content

Commit

Permalink
Merge pull request #20896 from iamsedatozturk/docs/multi-tenancy
Browse files Browse the repository at this point in the history
Update multi-tenancy doc
  • Loading branch information
hikalkan authored Oct 5, 2024
2 parents 9658498 + 894b21f commit 88f2e48
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/en/framework/architecture/multi-tenancy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ABP supports all the following approaches to store the tenant data in the databa
- **Database per Tenant**: Every tenant has a separate, dedicated database to store the data related to that tenant.
- **Hybrid**: Some tenants share a single database while some tenants may have their own databases.

[Tenant management module](../../../modules/tenant-management.md) (which comes pre-installed with the startup projects) allows you to set a connection string for any tenant (as optional), so you can achieve any of the approaches.
[Saas module (PRO)](../../../modules/saas.md) allows you to set a connection string for any tenant (as optional), so you can achieve any of the approaches.

## Usage

Expand Down Expand Up @@ -400,7 +400,7 @@ app.UseMultiTenancy();
#### Tenant Management Module

The [tenant management module](../../../modules/tenant-management.md) is **included in the startup templates** and implements the `ITenantStore` interface to get the tenants and their configuration from a database. It also provides the necessary functionality and UI to manage the tenants and their connection strings.
The [tenant management module](../../../modules/tenant-management.md) is **included in the startup templates** and implements the `ITenantStore` interface to get the tenants and their configuration from a database. It also provides the necessary functionality and UI to manage the tenants.

#### Configuration Data Store

Expand Down Expand Up @@ -438,7 +438,12 @@ BLOB Storing, Caching, Data Filtering, Data Seeding, Authorization and all the o

ABP provides all the the infrastructure to create a multi-tenant application, but doesn't make any assumption about how you manage (create, delete...) your tenants.

The [Tenant Management module](../../../modules/tenant-management.md) provides a basic UI to manage your tenants and set their connection strings. It is pre-configured for the [application startup template](../../../solution-templates/layered-web-application).
The [Tenant Management module](../../../modules/tenant-management.md) provides a basic UI to manage your tenants. It is pre-configured for the [application startup template](../../../solution-templates/layered-web-application).

### A note about separate database per tenant approach in open source version

While ABP fully supports this option, managing connection strings of tenants from the UI is not available in open source version. You need to have [Saas module (PRO)](../../../modules/saas.md).
Alternatively you can implement this feature yourself by customizing the tenant management module and tenant application service to create and migrate the database on the fly.

## See Also

Expand Down

0 comments on commit 88f2e48

Please sign in to comment.