make compile happy with obsolete AddUserSecrets extension method.

This commit is contained in:
IgorSychev 2017-06-21 16:39:04 +03:00 committed by Igor Sychev
parent 09dfd9a246
commit 71f77880d5
3 changed files with 3 additions and 4 deletions

View File

@ -16,7 +16,6 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.HealthChecks; using Microsoft.Extensions.HealthChecks;
using Identity.API.Certificate;
using Autofac.Extensions.DependencyInjection; using Autofac.Extensions.DependencyInjection;
using Autofac; using Autofac;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
@ -40,7 +39,7 @@ namespace eShopOnContainers.Identity
if (env.IsDevelopment()) if (env.IsDevelopment())
{ {
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
builder.AddUserSecrets(); builder.AddUserSecrets<Startup>();
} }
builder.AddEnvironmentVariables(); builder.AddEnvironmentVariables();

View File

@ -29,7 +29,7 @@ namespace Microsoft.eShopOnContainers.WebMVC
if (env.IsDevelopment()) if (env.IsDevelopment())
{ {
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
builder.AddUserSecrets(); builder.AddUserSecrets<Startup>();
} }
Configuration = builder.Build(); Configuration = builder.Build();

View File

@ -31,7 +31,7 @@ namespace eShopConContainers.WebSPA
if (env.IsDevelopment()) if (env.IsDevelopment())
{ {
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709 // For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
builder.AddUserSecrets(); builder.AddUserSecrets<Startup>();
} }
Configuration = builder.Build(); Configuration = builder.Build();