make compile happy with obsolete AddUserSecrets extension method.
This commit is contained in:
parent
09dfd9a246
commit
71f77880d5
@ -16,7 +16,6 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.HealthChecks;
|
||||
using Identity.API.Certificate;
|
||||
using Autofac.Extensions.DependencyInjection;
|
||||
using Autofac;
|
||||
using Microsoft.Extensions.Logging;
|
||||
@ -40,7 +39,7 @@ namespace eShopOnContainers.Identity
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
|
||||
builder.AddUserSecrets();
|
||||
builder.AddUserSecrets<Startup>();
|
||||
}
|
||||
|
||||
builder.AddEnvironmentVariables();
|
||||
|
@ -29,7 +29,7 @@ namespace Microsoft.eShopOnContainers.WebMVC
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
// 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();
|
||||
|
@ -31,7 +31,7 @@ namespace eShopConContainers.WebSPA
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
// 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user