Use external setting to access to database on asp .net core

  • Mar 26, 2022
  • 1
  • 705

Hello Dear all,

please I have need your help.

I want to how to use an external setting to store connnectionString.

that can allow me ton update the connectionString when my server has change



Answers (1)

You have to use appsettings.json the file to configure your connection string. This will allow you to read the connection string from appsettings and update anytime if you want.

Please check the below article,


Submit your answer