Browse Source

make compile happy with obsolete AddUserSecrets extension method.

pull/220/head
IgorSychev 7 years ago
committed by Igor Sychev
parent
commit
71f77880d5
3 changed files with 3 additions and 4 deletions
  1. +1
    -2
      src/Services/Identity/Identity.API/Startup.cs
  2. +1
    -1
      src/Web/WebMVC/Startup.cs
  3. +1
    -1
      src/Web/WebSPA/Startup.cs

+ 1
- 2
src/Services/Identity/Identity.API/Startup.cs 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();


+ 1
- 1
src/Web/WebMVC/Startup.cs 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();


+ 1
- 1
src/Web/WebSPA/Startup.cs 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();


Loading…
Cancel
Save