title: ASP.NET Core MVC App Settings
body: <p>I'm trying to use configuration variables on my ASP.NET Core MVC project.</p>
  
  <p>This is where I've got so far:</p>
  
  <ol>
  <li>Created an appsettings.json </li>
  <li>Created an AppSettings class</li>
  <li>Now I'm trying to inject it on the ConfigureServices, but my Configuration class is either not recognized or when using the full reference: "Microsoft.Extensions.Configuration" the GetSection Method is not recognized, i.e. </li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/R1XLT.png" rel="nofollow noreferrer">Configuration class not being recognized</a></p>
  
  <p><a href="https://i.stack.imgur.com/R1XLT.png" rel="nofollow noreferrer">GetSection method not being recognized</a></p>
  
  <p>Any ideas on how to use this?</p>