Browse Source

Merge pull request #20896 from iamsedatozturk/docs/multi-tenancy

Update multi-tenancy doc
social-login-usages
Halil İbrahim Kalkan 1 year ago
committed by GitHub
parent
commit
88f2e483b2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 11
      docs/en/framework/architecture/multi-tenancy/index.md

11
docs/en/framework/architecture/multi-tenancy/index.md

@ -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
@ -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
@ -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

Loading…
Cancel
Save