0

I need to configure my application so that depending on a client it is connected to one database or another. Any idea how to do it?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
jesus
  • 39
  • 6
  • I assume that you mean dynamically when the site is running. See [Dynamically change connection string in Asp.Net Core](https://stackoverflow.com/questions/36816215/dynamically-change-connection-string-in-asp-net-core) for some suggestions. – Mark G May 10 '18 at 17:33
  • Maybe this is useful https://stackoverflow.com/questions/40836102/asp-net-core-change-ef-connection-string-when-user-logs-in/40840797#40840797 – H. Herzl May 11 '18 at 18:22

0 Answers0