title: New .Net Core 2 Site does not reconize Configuration.GetConnectionString
body: <p>I am creating a new web site from an empty ASP.NET Core 2 template and following the <a href="https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro" rel="noreferrer">Microsoft Entity Framework Tutorial</a> to help me get setup. At one point it has you add the code:</p>
  
  <pre><code>services.AddDbContext&lt;SchoolContext&gt;(options =&gt;
      options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
  </code></pre>
  
  <p>To the <code>ConfigureServices()</code> method of <code>Startup.cs</code>. I did this but in my project Visual Studio give me that little red line under <code>Configuration</code> in the <code>Configuraiton.GetConnectionString</code></p>
  
  <p>I had thought I was missing a <code>using</code> statement or even a package but the Visual Studio 2017 quick actions don't identify a <code>using</code> statement to use and I do have the <code>Microsoft.AspNetCore.All</code> package installed so I should have all the packages.</p>
  
  <p>What am I missing that is making the <code>Configuration</code> not recognized?</p>
  
  <p>Edit: The error is:</p>
  
  <blockquote>
    <p>The name 'Configuration' does not exist in the current context</p>
  </blockquote>
  
  <pre><code>public void ConfigureServices(IServiceCollection services)
  {
       services.AddDbContext&lt;CollectionContext&gt;(options =&gt; options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
       services.AddMvc();
  }
  </code></pre>