Microsoft.Extensions.Configuration.UserSecrets
Provides paths for user secrets configuration files.
Returns the path to the JSON file that stores user secrets.
This uses the current user profile to locate the secrets file on disk in a location outside of source control.
The user secret ID.
The full path to the secret file.
Value cannot be null or an empty string.
Value cannot be null or an empty string.
Invalid character '{0}' found in the user secrets ID at index '{1}'.
Invalid character '{0}' found in the user secrets ID at index '{1}'.
Could not find 'UserSecretsIdAttribute' on assembly '{0}'.
Check that the project for '{0}' has set the 'UserSecretsId' build property.
If the 'UserSecretsId' property is already set then add a reference to the Microsoft.Extensions.Configuration.UserSecrets package.
Could not find 'UserSecretsIdAttribute' on assembly '{0}'.
Check that the project for '{0}' has set the 'UserSecretsId' build property.
If the 'UserSecretsId' property is already set then add a reference to the Microsoft.Extensions.Configuration.UserSecrets package.
Represents the user secrets ID.
In most cases, this attribute is automatically generated during compilation by MSBuild targets
included in the UserSecrets NuGet package. These targets use the MSBuild property 'UserSecretsId'
to set the value for .
Initializes an instance of .
The user secrets ID.
The user secrets ID.
Configuration extensions for adding user secrets configuration source.
Adds the user secrets configuration source. Searches the assembly that contains type
for an instance of , which specifies a user secrets ID.
A user secrets ID is unique value used to store and identify a collection of secret configuration values.
The configuration builder.
The type from the assembly to search for an instance of .
Thrown when the assembly containing does not have .
The configuration builder.
Adds the user secrets configuration source. Searches the assembly that contains type
for an instance of , which specifies a user secrets ID.
A user secrets ID is unique value used to store and identify a collection of secret configuration values.
The configuration builder.
Whether loading secrets is optional. When false, this method may throw.
Thrown when is false and the assembly containing does not have a valid .
The type from the assembly to search for an instance of .
The configuration builder.
Adds the user secrets configuration source. This searches for an instance
of , which specifies a user secrets ID.
A user secrets ID is unique value used to store and identify a collection of secret configuration values.
The configuration builder.
The assembly with the .
Thrown when does not have a valid
The configuration builder.
Adds the user secrets configuration source. This searches for an instance
of , which specifies a user secrets ID.
A user secrets ID is unique value used to store and identify a collection of secret configuration values.
The configuration builder.
The assembly with the .
Whether loading secrets is optional. When false, this method may throw.
Thrown when is false and does not have a valid .
The configuration builder.
Adds the user secrets configuration source with specified user secrets ID.
A user secrets ID is unique value used to store and identify a collection of secret configuration values.
The configuration builder.
The user secrets ID.
The configuration builder.