dotnet-starter-kit
dotnet-starter-kit copied to clipboard
when we create new tenant it asked for connectionString
Is your feature request related to a problem? Please describe. when we create new tenant it asked for connectionString { "id": "string", "name": "string", "connectionString": "string", "adminEmail": "string", "issuer": "string" } The client app dose not know the server details and db name needed for connectionString. we can specify either shared DB or Dedicated DB for this tenant when we call the create function. Then the API should create a DB for each tenant automatically
Describe the solution you'd like I advice to have an option to generate the connection string within the create API if you specify a value for example either shared DB.
You can already leave the connectionstring empty and then it will default to a "shared db" with the same connectionstring as the root db.
We could indeed possibly add something like a "generate connectionstring for dedicated db" button which then takes the same connectionstring as the root db, but with another "catalog name" and fills it out in the connectionstring field. Or we could just foresee a "db name" textbox and take the rest of the connectionstring from the root db...
The point is, the way it's working now, everything is possible, you just have to be able to craft the right connectionstring. There's definitely room for more automation here, but there's multiple possible ways to do this, and I think it's up to the specific application to decide on what they want to be more automated.
Unless we could come up with some generic design, that has both the options of a "simple config" and a "more advanced" config so everything is still possible?