title: Strongly Typed Configuration Settings in .NET Core 2 Console Application
body: <p>I'd like to access the appsettings.json file (and perhaps other config files) using strongly typed classes.
  There is a lot of info out there about doing so in .NET Core 1 (eg. <a href="https://weblog.west-wind.com/posts/2016/may/23/strongly-typed-configuration-settings-in-aspnet-core" rel="nofollow noreferrer">https://weblog.west-wind.com/posts/2016/may/23/strongly-typed-configuration-settings-in-aspnet-core</a>), but next to nothing about .NET Core 2.</p>
  
  <p>In addition, I'm building a console app, not ASP.NET.</p>
  
  <p>It appears that the configuration API has completely changed in .NET Core 2. I can't work it out. Anyone? </p>
  
  <p>EDIT: I think perhaps the Core 2 docs have not caught up yet. Example: <a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.configurationbinder?view=aspnetcore-2.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.configurationbinder?view=aspnetcore-2.0</a>  indicates, you would think, that ConfigurationBinder exists in .NET Core 2, but an object browser search of Microsoft.Extensions.Configuration and Microsoft.Extensions.Options reveals nothing.</p>
  
  <p>I have used the NuGet Console to </p>
  
  <ul>
  <li>Install-Package Microsoft.Extensions.Options -Version 2.0.0</li>
  <li>Install-Package Microsoft.Extensions.Configuration -Version 2.0.0</li>
  </ul>