Microsoft.Extensions.Configuration.Abstractions 11.0.0-preview.5.26302.115

About

Provides abstractions of key-value pair based configuration. Interfaces defined in this package are implemented by classes in Microsoft.Extensions.Configuration and other configuration packages.

Key Features

  • Abstractions for string key-value pair configuration sources and sections
  • Path conventions of keys establishing a heirachy of values
  • Support for multiple configuration sources, aggregating and defining precdence for values
  • Support for reload on change

How to Use

The example below shows a small code sample using this library and trying out the ConfigurationKeyName and ConfigurationIgnore attributes:

public class MyClass
{
    [ConfigurationKeyName("named_property")]
    public string NamedProperty { get; set; }

    [ConfigurationIgnore]
    public string IgnoredProperty { get; set; } = "default";
}

Given the simple class above, we can create a dictionary to hold the configuration data and use it as the memory source to build a configuration section:

var dic = new Dictionary<string, string>
{
    {"named_property", "value for named property"},
    {"ignored_property", "this value is ignored"},
};

var config = new ConfigurationBuilder()
    .AddInMemoryCollection(dic)
    .Build();

var options = config.Get<MyClass>();
Console.WriteLine(options.NamedProperty); // returns "value for named property"
Console.WriteLine(options.IgnoredProperty); // returns "default"

Main Types

The main types provided by this library are:

  • Microsoft.Extensions.Configuration.IConfiguration
  • Microsoft.Extensions.Configuration.IConfigurationBuilder
  • Microsoft.Extensions.Configuration.IConfigurationProvider
  • Microsoft.Extensions.Configuration.IConfigurationRoot
  • Microsoft.Extensions.Configuration.IConfigurationSection

Additional Documentation

Feedback & Contributing

Microsoft.Extensions.Caching.Abstractions is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Extensions.Configuration.Abstractions.

Packages Downloads
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications. This package was built from the source at: https://github.com/aspnet/Hosting/tree/687a99438a1a596a11b7dbd0bf9da5035b3b74eb
115
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
82
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
61
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
49
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
49
Microsoft.Extensions.Configuration.CommandLine
Command line configuration provider implementation for Microsoft.Extensions.Configuration.
48
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
39
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications. When using NuGet 3.x this package requires at least version 3.4.
39
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider. This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a
34
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
34
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
32
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
32
Microsoft.Extensions.Hosting
Hosting and startup infrastructures for applications.
31
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
30
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
27
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
27
Microsoft.Extensions.Logging.Console
Console logger provider implementation for Microsoft.Extensions.Logging.
27
AWSSDK.Extensions.NETCore.Setup
Extensions for the AWS SDK for .NET to integrate with .NET Core configuration and dependency injection frameworks.
26

https://go.microsoft.com/fwlink/?LinkID=799421

.NET 10.0

.NET 11.0

  • No dependencies.

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
11.0.0-preview.6.26359.118 1 07/25/2026
11.0.0-preview.5.26302.115 4 07/13/2026
11.0.0-preview.4.26230.115 4 05/30/2026
11.0.0-preview.3.26207.106 7 04/16/2026
11.0.0-preview.2.26159.112 5 03/12/2026
11.0.0-preview.1.26104.118 7 02/16/2026
10.0.10 2 07/23/2026
10.0.9 2 07/15/2026
10.0.8 4 05/28/2026
10.0.7 4 05/30/2026
10.0.6 5 04/17/2026
10.0.5 6 03/14/2026
10.0.4 4 03/14/2026
10.0.3 6 02/19/2026
10.0.2 2 01/27/2026
10.0.1 2 12/16/2025
10.0.0 3 12/09/2025
10.0.0-rc.2.25502.107 2 12/09/2025
10.0.0-rc.1.25451.107 1 12/10/2025
10.0.0-preview.7.25380.108 1 12/17/2025
10.0.0-preview.6.25358.103 1 12/17/2025
10.0.0-preview.5.25277.114 1 12/17/2025
10.0.0-preview.4.25258.110 1 12/17/2025
10.0.0-preview.3.25171.5 1 12/17/2025
10.0.0-preview.2.25163.2 1 12/17/2025
10.0.0-preview.1.25080.5 1 12/17/2025
9.0.18 2 07/22/2026
9.0.17 2 07/13/2026
9.0.16 5 05/30/2026
9.0.15 5 04/16/2026
9.0.14 5 03/13/2026
9.0.13 7 02/19/2026
9.0.12 3 01/27/2026
9.0.11 2 12/10/2025
9.0.10 2 12/10/2025
9.0.9 1 12/22/2025
9.0.8 2 12/17/2025
9.0.7 2 12/17/2025
9.0.6 2 12/17/2025
9.0.5 2 12/17/2025
9.0.4 2 12/17/2025
9.0.3 2 12/17/2025
9.0.2 2 12/17/2025
9.0.1 1 12/22/2025
9.0.0 2 12/17/2025
9.0.0-rc.2.24473.5 1 12/17/2025
9.0.0-rc.1.24431.7 1 12/17/2025
9.0.0-preview.7.24405.7 7 12/09/2025
9.0.0-preview.6.24327.7 3 01/30/2026
9.0.0-preview.5.24306.7 1 12/17/2025
9.0.0-preview.4.24266.19 1 12/17/2025
9.0.0-preview.3.24172.9 1 01/30/2026
9.0.0-preview.2.24128.5 1 12/17/2025
9.0.0-preview.1.24080.9 1 01/30/2026
8.0.0 2 12/17/2025
8.0.0-rc.2.23479.6 2 12/17/2025
8.0.0-rc.1.23419.4 1 12/17/2025
8.0.0-preview.7.23375.6 1 02/01/2026
8.0.0-preview.6.23329.7 2 12/10/2025
8.0.0-preview.5.23280.8 1 12/17/2025
8.0.0-preview.4.23259.5 1 12/17/2025
8.0.0-preview.3.23174.8 1 12/17/2025
8.0.0-preview.2.23128.3 1 12/17/2025
8.0.0-preview.1.23110.8 1 12/17/2025
7.0.0 6 12/10/2025
7.0.0-rc.2.22472.3 6 12/09/2025
7.0.0-rc.1.22426.10 13 12/10/2025
7.0.0-preview.7.22375.6 6 12/09/2025
7.0.0-preview.6.22324.4 30 12/10/2025
7.0.0-preview.5.22301.12 15 12/10/2025
7.0.0-preview.4.22229.4 7 12/10/2025
7.0.0-preview.3.22175.4 9 12/10/2025
7.0.0-preview.2.22152.2 5 12/10/2025
7.0.0-preview.1.22076.8 8 12/09/2025
6.0.1 9 12/10/2025
6.0.0 6 12/09/2025
6.0.0-rc.2.21480.5 6 12/10/2025
6.0.0-rc.1.21451.13 8 12/10/2025
6.0.0-preview.7.21377.19 6 12/10/2025
6.0.0-preview.6.21352.12 7 12/10/2025
6.0.0-preview.5.21301.5 8 12/10/2025
6.0.0-preview.4.21253.7 12 12/10/2025
6.0.0-preview.3.21201.4 6 12/10/2025
6.0.0-preview.2.21154.6 5 12/10/2025
6.0.0-preview.1.21102.12 9 12/09/2025
5.0.0 7 12/10/2025
5.0.0-rc.2.20475.5 5 12/10/2025
5.0.0-rc.1.20451.14 8 12/09/2025
5.0.0-preview.8.20407.11 5 12/09/2025
5.0.0-preview.7.20364.11 5 12/10/2025
5.0.0-preview.6.20305.6 12 12/10/2025
5.0.0-preview.5.20278.1 7 12/10/2025
5.0.0-preview.4.20251.6 8 12/10/2025
5.0.0-preview.3.20215.2 5 12/10/2025
5.0.0-preview.2.20160.3 8 12/10/2025
5.0.0-preview.1.20120.4 6 12/09/2025
3.1.32 10 12/10/2025
3.1.31 9 12/10/2025
3.1.30 11 12/10/2025
3.1.29 9 12/10/2025
3.1.28 11 12/09/2025
3.1.27 6 12/10/2025
3.1.26 7 12/09/2025
3.1.25 6 12/10/2025
3.1.24 6 12/10/2025
3.1.23 7 12/10/2025
3.1.22 19 12/10/2025
3.1.21 7 12/10/2025
3.1.20 6 12/09/2025
3.1.19 5 12/10/2025
3.1.18 7 12/10/2025
3.1.17 4 12/10/2025
3.1.16 9 12/09/2025
3.1.15 9 12/09/2025
3.1.14 8 12/10/2025
3.1.13 6 12/10/2025
3.1.12 8 12/10/2025
3.1.11 7 12/10/2025
3.1.10 7 12/10/2025
3.1.9 5 12/10/2025
3.1.8 9 12/10/2025
3.1.7 11 12/10/2025
3.1.6 5 12/10/2025
3.1.5 9 12/10/2025
3.1.4 8 12/10/2025
3.1.3 7 12/10/2025
3.1.2 8 12/10/2025
3.1.1 7 12/10/2025
3.1.0 8 12/10/2025
3.1.0-preview3.19553.2 7 12/17/2025
3.1.0-preview2.19525.4 8 12/11/2025
3.1.0-preview1.19506.1 7 12/17/2025
3.0.3 7 12/10/2025
3.0.2 7 12/10/2025
3.0.1 6 12/10/2025
3.0.0 8 12/11/2025
3.0.0-rc1.19456.10 7 12/09/2025
3.0.0-preview9.19423.4 10 12/17/2025
3.0.0-preview8.19405.4 4 01/30/2026
3.0.0-preview7.19362.4 22 12/17/2025
3.0.0-preview6.19304.6 7 12/17/2025
3.0.0-preview5.19227.9 5 02/03/2026
3.0.0-preview4.19216.2 6 12/09/2025
3.0.0-preview3.19153.1 7 12/17/2025
3.0.0-preview.19074.2 6 01/30/2026
3.0.0-preview.18572.1 8 12/17/2025
2.2.0 6 12/22/2025
2.2.0-preview3-35497 19 12/17/2025
2.2.0-preview2-35157 10 12/17/2025
2.2.0-preview1-35029 10 12/11/2025
2.1.1 8 12/17/2025
2.1.0 9 12/11/2025
2.1.0-rc1-final 8 12/17/2025
2.1.0-preview2-final 4 01/30/2026
2.1.0-preview1-final 9 12/17/2025
2.0.2 8 12/17/2025
2.0.1 5 12/22/2025
2.0.0 7 12/22/2025
2.0.0-preview2-final 7 12/17/2025
2.0.0-preview1-final 6 01/30/2026
1.1.2 16 12/17/2025
1.1.1 8 12/17/2025
1.1.0 6 12/22/2025
1.1.0-preview1-final 7 01/29/2026
1.0.2 10 12/17/2025
1.0.1 10 12/09/2025
1.0.0 6 12/22/2025
1.0.0-rc2-final 7 12/17/2025
1.0.0-rc1-final 4 02/27/2026