Open Closed

Configure Connection String from front end #3090


User avatar
0
zalak created
  • ABP Framework version: v5.2.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" I want to develop a project using the mentioned version of ABP in a way that user can generate their own connection string using front end during the initial setup and then the initial migration as well as the initial seeding takes place using the given connection string. To achieve this, when I run the project initially the default connection string is required which I want to take from user initially. Guide me to achieve the same.

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

    hi

    You can prepare a default database and switch to the new database when the user provides a connection string.

    This can be complicated if you want to run the template project without a default database.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11