title: How to read multiple connectionstrings in appsetting.json file in .net core api project
body: <p>I have multiple connectionstrings properties for example:-
  in AppSetting.json file</p>
  <pre><code>&quot;connectionstring&quot;:{
  &quot;connection1&quot;:&quot;datasource1&quot;;
  &quot;connection2&quot;:&quot;datasource2&quot;;
  }
  </code></pre>
  <p>i want to read connection string key in controller or service file.
  Is it possible in .net Core API ?</p>
  <p>Thanks</p>