title: Is it possible to get ConnectionString from static class in another class library?
body: <p>I've added my connection strings in the appsettings.json file. I need to access the required connection string for background operations but in order to use the connection string I have to access through a static class from different project in same solution. I couldn't access using
  <code>ConfigurationManager.ConnectionStrings[&quot;&quot;].ConnectionString</code>.
  Kindly advise us, pretty stuck into this. If any documentation kindly send link too.</p>
  <pre><code>public static class SystemConstants
  {
          public static string ConnectionString = ConfigurationManager.ConnectionStrings[0].ConnectionString;
  }
  </code></pre>