title: .net core not connecting to the changed database in appsettings.json connectionstrings in visual studio debug
body: <p>I am working on a .net core project, I wanted to change the connectionstring of the database in appsettings.json. 
  I had created a duplicate database and named it originalname_fake01 and made a clone of the original database for testing.</p>
  
  <p>I have also changed the database name in appsettings.developement.json. Everything seems fine but when I run the application in debug mode in visual studio. the data was being pulled from the original database rather than the changed database name in appsettings.json.</p>
  
  <p>Here is my <code>appsettings</code> <code>connectionstrings</code> code:
      Old connectionstring was</p>
  
  <pre><code>"connectionStrings": {
  "MyConnectionString": 
  "Server=localhost;port=3306;database=mydb;user=root;password=rt123;"
  }
  </code></pre>
  
  <p>changed connection string (new)</p>
  
  <pre><code>"connectionStrings": {
  "FakeConnectionString": 
  "Server=localhost;port=3306;database=mydb_fake01;user=root;password=rt123;"
  }
  </code></pre>
  
  <p>I am not able to understand why it is connecting to the old database rather than the new database even after changing the <code>connectionstring</code>.</p>
  
  <p>Any help would be appreciated.</p>