Microsoft.Extensions.Configuration.Abstractions 10.0.12

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.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute This package was built from the source code at https://github.com/aspnet/CORS/tree/f05b0e792d2361be214947798857ef3eac77825d
208
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
189
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
188
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
182
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
181
Microsoft.AspNetCore.Hosting.Server.Abstractions
ASP.NET Core hosting server abstractions for web applications.
180
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
178
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET 5 Hosting abstractions.
177
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
177
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
175
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
174
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
174
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
174
Microsoft.Extensions.OptionsModel
Provides a strongly typed way of specifying and accessing settings using dependency injection.
174
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
173
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
172
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
171
Microsoft.AspNetCore.Hosting.Server.Abstractions
ASP.NET Core hosting server abstractions for web applications.
171
Microsoft.Extensions.Logging.Console
Console logger provider implementation for Microsoft.Extensions.Logging.
169

.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-rc.3.26522.148 3 10/26/2026
11.0.0-rc.2.26504.105 8 10/14/2026
11.0.0-rc.1.26425.128 16 9/9/2026
11.0.0-preview.7.26381.103 19 8/13/2026
11.0.0-preview.6.26359.118 25 7/16/2026
11.0.0-preview.5.26302.115 32 6/10/2026
11.0.0-preview.4.26230.115 27 5/12/2026
11.0.0-preview.3.26207.106 37 5/3/2026
11.0.0-preview.2.26159.112 37 3/12/2026
11.0.0-preview.1.26104.118 37 2/15/2026
10.0.14 2 10/26/2026
10.0.13 7 10/14/2026
10.0.12 12 9/10/2026
10.0.11 18 8/13/2026
10.0.10 23 7/16/2026
10.0.9 28 6/10/2026
10.0.8 34 5/12/2026
10.0.7 33 5/3/2026
10.0.6 34 5/3/2026
10.0.5 32 3/15/2026
10.0.4 34 3/12/2026
10.0.3 34 2/15/2026
10.0.2 35 1/15/2026
10.0.1 44 12/11/2025
10.0.0 73 11/11/2025
10.0.0-rc.2.25502.107 95 10/16/2025
10.0.0-rc.1.25451.107 82 9/10/2025
10.0.0-preview.7.25380.108 92 8/13/2025
10.0.0-preview.6.25358.103 89 7/18/2025
10.0.0-preview.5.25277.114 96 6/8/2025
10.0.0-preview.4.25258.110 113 5/15/2025
10.0.0-preview.3.25171.5 95 4/14/2025
10.0.0-preview.2.25163.2 94 3/22/2025
10.0.0-preview.1.25080.5 114 2/26/2025
9.0.22 2 10/26/2026
9.0.21 8 10/14/2026
9.0.20 16 9/10/2026
9.0.19 17 8/13/2026
9.0.18 24 7/16/2026
9.0.17 30 6/10/2026
9.0.16 35 5/12/2026
9.0.15 36 5/3/2026
9.0.14 35 3/12/2026
9.0.13 33 2/15/2026
9.0.12 37 1/15/2026
9.0.11 63 11/11/2025
9.0.10 76 10/17/2025
9.0.9 95 9/10/2025
9.0.8 86 8/5/2025
9.0.7 74 7/11/2025
9.0.6 91 6/13/2025
9.0.5 89 5/16/2025
9.0.4 89 4/9/2025
9.0.3 97 3/13/2025
9.0.2 117 2/15/2025
9.0.1 114 1/18/2025
9.0.0 121 11/17/2024
9.0.0-rc.2.24473.5 122 10/16/2024
9.0.0-rc.1.24431.7 114 9/13/2024
9.0.0-preview.7.24405.7 137 8/15/2024
9.0.0-preview.6.24327.7 107 7/10/2024
9.0.0-preview.5.24306.7 120 6/14/2024
9.0.0-preview.4.24266.19 114 5/31/2024
9.0.0-preview.3.24172.9 124 4/25/2024
9.0.0-preview.2.24128.5 122 3/15/2024
9.0.0-preview.1.24080.9 114 3/2/2024
8.0.0 130 11/16/2023
8.0.0-rc.2.23479.6 132 10/13/2023
8.0.0-rc.1.23419.4 127 9/16/2023
8.0.0-preview.7.23375.6 129 8/22/2023
8.0.0-preview.6.23329.7 120 7/31/2023
8.0.0-preview.5.23280.8 141 7/31/2023
8.0.0-preview.4.23259.5 131 7/31/2023
8.0.0-preview.3.23174.8 121 5/12/2023
8.0.0-preview.2.23128.3 120 4/11/2023
8.0.0-preview.1.23110.8 119 4/11/2023
7.0.0 142 12/3/2022
7.0.0-rc.2.22472.3 127 12/3/2022
7.0.0-rc.1.22426.10 127 10/28/2022
7.0.0-preview.7.22375.6 120 5/12/2023
7.0.0-preview.6.22324.4 127 7/20/2022
7.0.0-preview.5.22301.12 130 6/27/2022
7.0.0-preview.4.22229.4 146 6/27/2022
7.0.0-preview.3.22175.4 132 6/27/2022
7.0.0-preview.2.22152.2 137 6/27/2022
7.0.0-preview.1.22076.8 134 6/27/2022
6.0.2-mauipre.1.22102.15 120 6/27/2022
6.0.2-mauipre.1.22054.8 136 6/27/2022
6.0.1 102 11/17/2024
6.0.0 135 6/27/2022
6.0.0-rc.2.21480.5 131 6/27/2022
6.0.0-rc.1.21451.13 121 6/27/2022
6.0.0-preview.7.21377.19 133 6/27/2022
6.0.0-preview.6.21352.12 126 6/27/2022
6.0.0-preview.5.21301.5 140 6/27/2022
6.0.0-preview.4.21253.7 144 6/27/2022
6.0.0-preview.3.21201.4 130 6/27/2022
6.0.0-preview.2.21154.6 126 6/27/2022
6.0.0-preview.1.21102.12 133 6/27/2022
5.0.0 123 6/27/2022
5.0.0-rc.2.20475.5 146 6/27/2022
5.0.0-rc.1.20451.14 136 6/27/2022
5.0.0-preview.8.20407.11 134 6/27/2022
5.0.0-preview.7.20364.11 135 6/27/2022
5.0.0-preview.6.20305.6 129 6/27/2022
5.0.0-preview.5.20278.1 124 6/27/2022
5.0.0-preview.4.20251.6 135 6/27/2022
5.0.0-preview.3.20215.2 134 6/27/2022
5.0.0-preview.2.20160.3 133 6/21/2022
5.0.0-preview.1.20120.4 138 6/27/2022
3.1.32 134 2/19/2023
3.1.31 120 11/17/2022
3.1.30 145 11/24/2022
3.1.29 119 11/24/2022
3.1.28 127 12/1/2022
3.1.27 121 9/17/2022
3.1.26 139 6/27/2022
3.1.25 135 6/27/2022
3.1.24 130 6/27/2022
3.1.23 135 6/27/2022
3.1.22 126 6/22/2022
3.1.21 158 6/27/2022
3.1.20 124 6/27/2022
3.1.19 144 6/27/2022
3.1.18 139 6/27/2022
3.1.17 127 6/27/2022
3.1.16 131 6/27/2022
3.1.15 137 6/27/2022
3.1.14 125 6/27/2022
3.1.13 138 6/27/2022
3.1.12 137 6/27/2022
3.1.11 130 6/27/2022
3.1.10 135 6/27/2022
3.1.9 125 6/27/2022
3.1.8 136 6/27/2022
3.1.7 122 6/27/2022
3.1.6 124 6/27/2022
3.1.5 123 6/27/2022
3.1.4 122 6/27/2022
3.1.3 133 6/27/2022
3.1.2 126 6/27/2022
3.1.1 130 6/27/2022
3.1.0 127 6/27/2022
3.1.0-preview3.19553.2 118 6/27/2022
3.1.0-preview2.19525.4 128 6/27/2022
3.1.0-preview1.19506.1 140 6/27/2022
3.0.3 122 6/27/2022
3.0.2 131 6/27/2022
3.0.1 125 6/27/2022
3.0.0 137 6/27/2022
3.0.0-rc1.19456.10 127 6/27/2022
3.0.0-preview9.19423.4 135 6/27/2022
3.0.0-preview8.19405.4 138 6/27/2022
3.0.0-preview7.19362.4 140 6/27/2022
3.0.0-preview6.19304.6 130 6/27/2022
3.0.0-preview5.19227.9 125 6/27/2022
3.0.0-preview4.19216.2 125 6/27/2022
3.0.0-preview3.19153.1 146 6/27/2022
3.0.0-preview.19074.2 141 6/27/2022
3.0.0-preview.18572.1 139 6/27/2022
2.2.0 138 6/27/2022
2.2.0-preview3-35497 135 6/27/2022
2.2.0-preview2-35157 117 6/27/2022
2.2.0-preview1-35029 136 6/27/2022
2.1.1 125 6/27/2022
2.1.0 160 6/27/2022
2.1.0-rc1-final 135 6/27/2022
2.1.0-preview2-final 131 6/27/2022
2.1.0-preview1-final 142 6/27/2022
2.0.2 142 6/27/2022
2.0.1 127 6/27/2022
2.0.0 139 6/27/2022
2.0.0-preview2-final 135 6/27/2022
2.0.0-preview1-final 140 6/27/2022
1.1.2 124 6/13/2022
1.1.1 127 6/19/2022
1.1.0 126 6/27/2022
1.1.0-preview1-final 138 6/27/2022
1.0.2 126 6/27/2022
1.0.1 132 6/27/2022
1.0.0 151 6/27/2022
1.0.0-rc2-final 125 6/27/2022
1.0.0-rc1-final 132 6/27/2022