Info
Version: | 9.0.0 |
Author(s): | Microsoft |
Last Update: | Tuesday, November 12, 2024 |
.NET Fiddle: | Online Example |
Project Url: | https://dot.net/ |
NuGet Url: | https://www.nuget.org/packages/Microsoft.Extensions.Configuration.UserSecrets |
Install
Install-Package Microsoft.Extensions.Configuration.UserSecrets
dotnet add package Microsoft.Extensions.Configuration.UserSecrets
paket add Microsoft.Extensions.Configuration.UserSecrets
Microsoft.Extensions.Configuration.UserSecrets Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- Microsoft.Extensions.Configuration.Abstractions(>= 5.0.0)
- Microsoft.Extensions.Configuration.Json(>= 5.0.0)
- Microsoft.Extensions.FileProviders.Abstractions(>= 5.0.0)
- Microsoft.Extensions.FileProviders.Physical(>= 5.0.0)
- Microsoft.Extensions.Configuration.Abstractions(>= 5.0.0)
- Microsoft.Extensions.Configuration.Json(>= 5.0.0)
- Microsoft.Extensions.FileProviders.Abstractions(>= 5.0.0)
- Microsoft.Extensions.FileProviders.Physical(>= 5.0.0)
User secrets mechanism enables you to override application configuration settings with values stored in the local secrets file. You can use UserSecretsConfigurationExtensions.AddUserSecrets extension method on IConfigurationBuilder to add user secrets provider to the configuration builder.