Microsoft.Extensions.Configuration Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes and abstractions for setting up IConfiguration.
Classes
ApplicationMetadataConfigurationBuilderExtensions |
Extensions for application metadata. |
BinderOptions |
Options class used by the ConfigurationBinder. |
ChainedBuilderExtensions |
IConfigurationBuilder extension methods for the chained configuration provider. |
ChainedConfigurationProvider |
Chained implementation of IConfigurationProvider. |
ChainedConfigurationSource |
Represents a chained IConfiguration as an IConfigurationSource. |
CommandLineConfigurationExtensions |
Extension methods for registering CommandLineConfigurationProvider with IConfigurationBuilder. |
ConfigurationBinder |
Static helper class that allows binding strongly typed objects to configuration values. |
ConfigurationBuilder |
Used to build key/value-based configuration settings for use in an application. |
ConfigurationExtensions |
Extension methods for configuration classes. |
ConfigurationKeyComparer |
IComparer implementation used to order configuration keys. |
ConfigurationKeyNameAttribute |
Specifies the key name for a configuration property. |
ConfigurationManager |
Represents a mutable configuration object. It is both an IConfigurationBuilder and an IConfigurationRoot. As sources are added, it updates its current view of the configuration. Once IConfigurationBuilder.Build() is called, the configuration is frozen. |
ConfigurationPath |
Utility methods and constants for manipulating Configuration paths. |
ConfigurationProvider |
Base helper class for implementing an IConfigurationProvider. |
ConfigurationReloadToken |
Implements IChangeToken. |
ConfigurationRoot |
The root node for a configuration. |
ConfigurationRootExtensions |
Extension methods for IConfigurationRoot. |
ConfigurationSection |
Represents a section of application configuration values. |
EnvironmentVariablesExtensions |
Extension methods for registering EnvironmentVariablesConfigurationProvider with IConfigurationBuilder. |
FileConfigurationExtensions |
Extension methods for FileConfigurationProvider. |
FileConfigurationProvider |
Base class for file based ConfigurationProvider. |
FileConfigurationSource |
Represents a base class for file based IConfigurationSource. |
FileLoadExceptionContext |
Contains information about a file load exception. |
IniConfigurationExtensions |
Extension methods for adding IniConfigurationProvider. |
JsonConfigurationExtensions |
Extension methods for adding JsonConfigurationProvider. |
KeyPerFileConfigurationBuilderExtensions |
Extension methods for registering KeyPerFileConfigurationProvider with IConfigurationBuilder. |
MemoryConfigurationBuilderExtensions |
Provides IConfigurationBuilder extension methods for the MemoryConfigurationProvider. |
StreamConfigurationProvider |
Stream based configuration provider. |
StreamConfigurationSource |
Stream based IConfigurationSource. |
UserSecretsConfigurationExtensions |
Configuration extensions for adding user secrets configuration source. |
XmlConfigurationExtensions |
Extension methods for adding XmlConfigurationProvider. |
Structs
ConfigurationDebugViewContext |
Provides data about the current item of the configuration. |
Interfaces
IConfiguration |
Represents a set of key/value application configuration properties. |
IConfigurationBuilder |
Represents a type used to build application configuration. |
IConfigurationManager |
Represents a mutable configuration object. |
IConfigurationProvider |
Provides configuration key/values for an application. |
IConfigurationRoot |
Represents the root of an IConfiguration hierarchy. |
IConfigurationSection |
Represents a section of application configuration values. |
IConfigurationSource |
Represents a source of configuration key/values for an application. |