Updated UserSecrets() obsolete API to AddUserSecrets<Startup>() update heading NET Core 2.0. See: https://github.com/aspnet/Announcements/issues/223

This commit is contained in:
Cesar De la Torre 2017-08-16 13:47:07 -07:00
parent 32da90b6af
commit dca1b5eedd
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();