From dca1b5eeddae6a8d7bd73240bbde7dd8b63ce1b9 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Wed, 16 Aug 2017 13:47:07 -0700 Subject: [PATCH] Updated UserSecrets() obsolete API to AddUserSecrets() update heading NET Core 2.0. See: https://github.com/aspnet/Announcements/issues/223 --- src/Web/WebMVC/Startup.cs | 2 +- src/Web/WebSPA/Startup.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Web/WebMVC/Startup.cs b/src/Web/WebMVC/Startup.cs index 786fd1769..8e9766b77 100644 --- a/src/Web/WebMVC/Startup.cs +++ b/src/Web/WebMVC/Startup.cs @@ -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(); } Configuration = builder.Build(); diff --git a/src/Web/WebSPA/Startup.cs b/src/Web/WebSPA/Startup.cs index 4f73d744d..062543168 100644 --- a/src/Web/WebSPA/Startup.cs +++ b/src/Web/WebSPA/Startup.cs @@ -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(); } Configuration = builder.Build();