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:
parent
32da90b6af
commit
dca1b5eedd
@ -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();
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user