Starts in:
1 DAY
9 HRS
55 MIN
26 SEC
Starts in:
1 D
9 H
55 M
26 S
Open Closed

Project DB configuration #2683


User avatar
0
shobhit created
  • ABP Framework version: v5.41
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

hi Team, I need to build project having following requirement:

  1. we are build saas based product
    1. Identity server should be hosted seperately and will use DB called "myIdentity"
    2. api will be hosted seperatetely and will have following databases
      1. host database called "hostdb"
      2. tenant database for each tenant called "tenant<n>db" where n is identifer of tenant
      3. shared database for some particular modules which will share data among all tenants called "myshareddb"
    3. Customer to allow uploading new theme

Please help me to understand how i can achieve this and what will be best practice.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    1:

    All modules can use their own separate database, See https://docs.abp.io/en/abp/latest/Connection-Strings

    2:

    ABP provided a Saas module to management tenants, you can set connection strings for each tenant. See https://docs.abp.io/en/commercial/latest/modules/saas

    You can create a shared module for tenants. See https://docs.abp.io/en/commercial/latest/startup-templates/module/solution-structure

    3:

    We don't have such a feature, you can allow the customer to update a custom css file. you can refer to https://github.com/abpframework/abp/pull/11705

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06