title: Issue with IdentityServer4 upgrade to .NET Core 2.0 (AddConfigurationStore, AddOperationalStore)
body: <p>I upgraded from .NET Core 1.1 to .NET Core 2.0 and encountered the following issue (I also upgraded a few libraries to support .net core 2.0 aswell)</p>
  
  <p>CS1929  'ConfigurationStoreOptions' does not contain a definition for 'UseNpgsql' and the best extension method overload 'NpgsqlDbContextOptionsExtensions.UseNpgsql(DbContextOptionsBuilder, string, Action)' requires a receiver of type 'DbContextOptionsBuilder' </p>
  
  <p>Startup.cs</p>
  
  <pre><code>        services.AddIdentityServer()
              .AddSigningCredential(Certificate.Get())
              .AddAspNetIdentity&lt;User&gt;()
              .AddConfigurationStore(builder =&gt;
                  builder.UseNpgsql(connectionString, options =&gt;
                      options.MigrationsAssembly(migrationsAssembly)))
              .AddOperationalStore(builder =&gt;
                  builder.UseNpgsql(connectionString, options =&gt;
                      options.MigrationsAssembly(migrationsAssembly)));
  </code></pre>
  
  <p>Same issue when using UseSqlServer </p>
  
  <pre><code>// configure identity server with in-memory users, but EF stores for clients and resources
  services.AddIdentityServer()
      .AddTemporarySigningCredential()
      .AddTestUsers(Config.GetUsers())
      .AddConfigurationStore(builder =&gt;
          builder.UseSqlServer(connectionString, options =&gt;
              options.MigrationsAssembly(migrationsAssembly)))
      .AddOperationalStore(builder =&gt;
          builder.UseSqlServer(connectionString, options =&gt;
              options.MigrationsAssembly(migrationsAssembly)));
  </code></pre>
  
  <p><a href="http://docs.identityserver.io/en/release/quickstarts/8_entity_framework.html" rel="nofollow noreferrer">http://docs.identityserver.io/en/release/quickstarts/8_entity_framework.html</a></p>
  
  <p>Note: I have added "using Microsoft.EntityFrameworkCore;"</p>