Microsoft.Extensions.Configuration.Abstractions 10.0.4

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 attribute available since .NET 6:

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

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"},
};

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

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

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.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
85
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
83
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
82
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
81
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options. This package was built from the source at: https://github.com/aspnet/Options/tree/a310a923647d28331705895c1b4d7186895f2f79
80
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
79
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
78
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
77
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
76
Microsoft.Extensions.Configuration.Binder
Functionality to bind an object to data in configuration providers for Microsoft.Extensions.Configuration.
75
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
75

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

.NET Framework 4.6.2

.NET 8.0

.NET 9.0

.NET 10.0

.NET Standard 2.0

Version Downloads Last updated
11.0.0-preview.5.26302.115 8 06/10/2026
11.0.0-preview.4.26230.115 15 05/13/2026
11.0.0-preview.3.26207.106 22 04/16/2026
11.0.0-preview.2.26159.112 30 03/11/2026
11.0.0-preview.1.26104.118 34 02/12/2026
10.0.9 8 06/10/2026
10.0.8 14 05/13/2026
10.0.7 19 04/23/2026
10.0.6 16 04/16/2026
10.0.5 23 03/13/2026
10.0.4 24 03/11/2026
10.0.3 24 02/13/2026
10.0.2 35 01/16/2026
10.0.1 40 12/11/2025
10.0.0 44 11/13/2025
10.0.0-rc.2.25502.107 53 10/16/2025
10.0.0-rc.1.25451.107 61 09/19/2025
10.0.0-preview.7.25380.108 65 09/04/2025
10.0.0-preview.6.25358.103 59 09/05/2025
10.0.0-preview.5.25277.114 62 09/05/2025
10.0.0-preview.4.25258.110 59 09/05/2025
10.0.0-preview.3.25171.5 60 09/05/2025
10.0.0-preview.2.25163.2 60 09/05/2025
10.0.0-preview.1.25080.5 58 09/05/2025
9.0.17 8 06/10/2026
9.0.16 14 05/13/2026
9.0.15 17 04/16/2026
9.0.14 26 03/11/2026
9.0.13 27 02/13/2026
9.0.12 38 01/17/2026
9.0.11 41 11/13/2025
9.0.10 53 10/17/2025
9.0.9 52 09/20/2025
9.0.8 55 09/05/2025
9.0.7 51 09/05/2025
9.0.6 51 09/05/2025
9.0.5 51 09/05/2025
9.0.4 50 09/05/2025
9.0.3 54 09/05/2025
9.0.2 53 09/05/2025
9.0.1 49 09/05/2025
9.0.0 52 09/05/2025
9.0.0-rc.2.24473.5 60 09/05/2025
9.0.0-rc.1.24431.7 58 09/05/2025
9.0.0-preview.7.24405.7 64 09/05/2025
9.0.0-preview.6.24327.7 66 09/05/2025
9.0.0-preview.5.24306.7 61 09/05/2025
9.0.0-preview.4.24266.19 60 09/05/2025
9.0.0-preview.3.24172.9 57 09/05/2025
9.0.0-preview.2.24128.5 71 09/05/2025
9.0.0-preview.1.24080.9 60 09/05/2025
8.0.0 55 09/05/2025
8.0.0-rc.2.23479.6 68 09/05/2025
8.0.0-rc.1.23419.4 70 09/05/2025
8.0.0-preview.7.23375.6 70 09/05/2025
8.0.0-preview.6.23329.7 74 09/05/2025
8.0.0-preview.5.23280.8 63 09/05/2025
8.0.0-preview.4.23259.5 64 09/05/2025
8.0.0-preview.3.23174.8 71 09/05/2025
8.0.0-preview.2.23128.3 65 09/05/2025
8.0.0-preview.1.23110.8 67 09/05/2025
7.0.0 60 09/05/2025
7.0.0-rc.2.22472.3 71 09/05/2025
7.0.0-rc.1.22426.10 65 09/05/2025
7.0.0-preview.7.22375.6 67 09/05/2025
7.0.0-preview.6.22324.4 72 09/05/2025
7.0.0-preview.5.22301.12 70 09/05/2025
7.0.0-preview.4.22229.4 62 09/05/2025
7.0.0-preview.3.22175.4 71 09/05/2025
7.0.0-preview.2.22152.2 65 09/05/2025
7.0.0-preview.1.22076.8 73 09/05/2025
6.0.1 64 09/05/2025
6.0.0 59 09/05/2025
6.0.0-rc.2.21480.5 67 09/05/2025
6.0.0-rc.1.21451.13 68 09/05/2025
6.0.0-preview.7.21377.19 66 09/05/2025
6.0.0-preview.6.21352.12 68 09/05/2025
6.0.0-preview.5.21301.5 72 09/05/2025
6.0.0-preview.4.21253.7 68 09/05/2025
6.0.0-preview.3.21201.4 71 09/05/2025
6.0.0-preview.2.21154.6 74 09/05/2025
6.0.0-preview.1.21102.12 68 09/05/2025
5.0.0 60 09/05/2025
5.0.0-rc.2.20475.5 65 09/05/2025
5.0.0-rc.1.20451.14 71 09/05/2025
5.0.0-preview.8.20407.11 68 09/05/2025
5.0.0-preview.7.20364.11 73 09/05/2025
5.0.0-preview.6.20305.6 68 09/05/2025
5.0.0-preview.5.20278.1 66 09/05/2025
5.0.0-preview.4.20251.6 69 09/05/2025
5.0.0-preview.3.20215.2 73 09/05/2025
5.0.0-preview.2.20160.3 69 09/05/2025
5.0.0-preview.1.20120.4 72 09/05/2025
3.1.32 61 09/05/2025
3.1.31 67 09/05/2025
3.1.30 62 09/05/2025
3.1.29 63 09/05/2025
3.1.28 60 09/05/2025
3.1.27 66 09/05/2025
3.1.26 67 09/05/2025
3.1.25 60 09/05/2025
3.1.24 65 09/05/2025
3.1.23 62 09/05/2025
3.1.22 60 09/05/2025
3.1.21 66 09/05/2025
3.1.20 63 09/05/2025
3.1.19 64 09/05/2025
3.1.18 67 09/05/2025
3.1.17 62 09/05/2025
3.1.16 66 09/05/2025
3.1.15 63 09/05/2025
3.1.14 64 09/05/2025
3.1.13 67 09/05/2025
3.1.12 68 09/05/2025
3.1.11 67 09/05/2025
3.1.10 65 09/05/2025
3.1.9 65 09/05/2025
3.1.8 59 09/05/2025
3.1.7 62 09/05/2025
3.1.6 59 09/05/2025
3.1.5 64 09/05/2025
3.1.4 63 09/05/2025
3.1.3 59 09/05/2025
3.1.2 61 09/05/2025
3.1.1 64 09/05/2025
3.1.0 60 09/05/2025
3.1.0-preview3.19553.2 55 09/05/2025
3.1.0-preview2.19525.4 58 09/05/2025
3.1.0-preview1.19506.1 71 09/05/2025
3.0.3 64 09/05/2025
3.0.2 62 09/05/2025
3.0.1 63 09/05/2025
3.0.0 61 09/05/2025
3.0.0-rc1.19456.10 69 09/05/2025
3.0.0-preview9.19423.4 69 09/05/2025
3.0.0-preview8.19405.4 66 09/05/2025
3.0.0-preview7.19362.4 65 09/05/2025
3.0.0-preview6.19304.6 69 09/05/2025
3.0.0-preview5.19227.9 62 09/05/2025
3.0.0-preview4.19216.2 65 09/05/2025
3.0.0-preview3.19153.1 65 09/05/2025
3.0.0-preview.19074.2 51 09/05/2025
3.0.0-preview.18572.1 54 09/05/2025
2.2.0 49 09/05/2025
2.2.0-preview3-35497 55 09/05/2025
2.2.0-preview2-35157 54 09/05/2025
2.2.0-preview1-35029 54 09/05/2025
2.1.1 52 09/05/2025
2.1.0 52 09/05/2025
2.1.0-rc1-final 57 09/05/2025
2.1.0-preview2-final 54 09/05/2025
2.1.0-preview1-final 54 09/05/2025
2.0.2 50 09/05/2025
2.0.1 51 09/05/2025
2.0.0 54 09/05/2025
2.0.0-preview2-final 56 09/05/2025
2.0.0-preview1-final 57 09/05/2025
1.1.2 53 09/05/2025
1.1.1 53 09/05/2025
1.1.0 51 09/05/2025
1.1.0-preview1-final 57 09/05/2025
1.0.2 52 09/05/2025
1.0.1 51 09/05/2025
1.0.0 54 09/05/2025
1.0.0-rc2-final 55 09/05/2025
1.0.0-rc1-final 56 09/05/2025