title: Read appsettings json values in .NET Core Test Project
body: <p>My Web application needs to read the Document DB keys from appsettings.json file. I have created a class with the key names and reading the Config section in <code>ConfigureServices()</code> as:</p>
  <pre><code>public Startup(IHostingEnvironment env) {
      var builder = new ConfigurationBuilder()
          .AddJsonFile(&quot;appsettings.json&quot;, optional: true, reloadOnChange: true)
          .AddEnvironmentVariables();
  
      Configuration = builder.Build();
  }
  
  public IConfigurationRoot Configuration { get; }
  
  public void ConfigureServices(IServiceCollection services) {
      services.AddMvc().AddJsonOptions(options =&gt; options.SerializerSettings.ContractResolver = new DefaultContractResolver());
      services.AddSession();
      Helpers.GetConfigurationSettings(services, Configuration);
      DIBuilder.AddDependency(services, Configuration);
  }
  </code></pre>
  <p>I'm looking for the ways to read the Key values in Test project.</p>