Microsoft.Extensions.Configuration.Abstractions 8.0.0-preview.1.23110.8

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.

Commonly used types:

For more information, see the documentation: Configuration in .NET.

Example

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"

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

Packages Downloads
Microsoft.AspNetCore.Hosting.Server.Abstractions
ASP.NET Core hosting server abstractions for web applications. This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213
111
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications. This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213
102
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
101
Serilog.Settings.Configuration
Microsoft.Extensions.Configuration (appsettings.json) support for Serilog.
81
Microsoft.Extensions.Configuration.FileExtensions
Extension methods for configuring file-based configuration providers for Microsoft.Extensions.Configuration. When using NuGet 3.x this package requires at least version 3.4.
71
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
69
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
66
Serilog.Settings.Configuration
Microsoft.Extensions.Configuration (appsettings.json) support for Serilog.
65
Serilog.Settings.Configuration
Microsoft.Extensions.Configuration (appsettings.json) support for Serilog.
62
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
62
Serilog.Extensions.Logging.File
Add file logging to ASP.NET Core apps with one line of code.
59
Serilog.Settings.Configuration
Microsoft.Extensions.Configuration (appsettings.json) support for Serilog.
59
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
58
Microsoft.EntityFrameworkCore.Relational
Shared Entity Framework Core components for relational database providers.
58
Microsoft.Extensions.Configuration.Json
JSON configuration provider implementation for Microsoft.Extensions.Configuration.
56
Microsoft.Extensions.Configuration
Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.
56
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
56
Serilog.Settings.Configuration
Microsoft.Extensions.Configuration (appsettings.json) support for Serilog.
55
Microsoft.Extensions.Configuration.Json
JSON configuration provider implementation for Microsoft.Extensions.Configuration. When using NuGet 3.x this package requires at least version 3.4.
55
Serilog.Extensions.Logging.File
Add file logging to ASP.NET Core apps with one line of code.
55

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

.NET Framework 4.6.2

.NET 6.0

.NET 7.0

.NET 8.0

.NET Standard 2.0

Version Downloads Last updated
10.0.0-preview.5.25277.114 1 06/08/2025
10.0.0-preview.4.25258.110 7 05/20/2025
10.0.0-preview.3.25171.5 9 04/17/2025
10.0.0-preview.2.25163.2 13 03/20/2025
10.0.0-preview.1.25080.5 13 02/27/2025
9.0.5 4 05/24/2025
9.0.4 9 04/10/2025
9.0.3 11 03/16/2025
9.0.2 14 02/16/2025
9.0.1 15 01/17/2025
9.0.0 15 11/19/2024
9.0.0-rc.2.24473.5 14 10/09/2024
9.0.0-rc.1.24431.7 18 09/12/2024
9.0.0-preview.7.24405.7 20 08/15/2024
9.0.0-preview.6.24327.7 20 07/10/2024
9.0.0-preview.5.24306.7 18 06/13/2024
9.0.0-preview.4.24266.19 18 05/24/2024
9.0.0-preview.3.24172.9 16 04/27/2024
9.0.0-preview.2.24128.5 20 03/14/2024
9.0.0-preview.1.24080.9 21 02/19/2024
8.0.0 25 12/23/2023
8.0.0-rc.2.23479.6 16 02/20/2024
8.0.0-rc.1.23419.4 16 03/22/2024
8.0.0-preview.7.23375.6 23 08/26/2023
8.0.0-preview.6.23329.7 20 08/24/2023
8.0.0-preview.5.23280.8 25 08/29/2023
8.0.0-preview.4.23259.5 56 05/28/2023
8.0.0-preview.3.23174.8 19 05/13/2023
8.0.0-preview.2.23128.3 18 08/21/2023
8.0.0-preview.1.23110.8 18 08/27/2023
7.0.0 36 03/02/2023
7.0.0-rc.2.22472.3 17 08/23/2023
7.0.0-rc.1.22426.10 19 08/25/2023
7.0.0-preview.7.22375.6 19 08/21/2023
7.0.0-preview.6.22324.4 20 08/23/2023
7.0.0-preview.5.22301.12 13 08/22/2023
7.0.0-preview.4.22229.4 21 08/23/2023
7.0.0-preview.3.22175.4 21 08/27/2023
7.0.0-preview.2.22152.2 17 08/24/2023
7.0.0-preview.1.22076.8 20 08/23/2023
6.0.2-mauipre.1.22102.15 19 08/24/2023
6.0.2-mauipre.1.22054.8 20 12/07/2023
6.0.1 16 11/18/2024
6.0.0 44 11/17/2021
6.0.0-rc.2.21480.5 22 08/25/2023
6.0.0-rc.1.21451.13 19 08/24/2023
6.0.0-preview.7.21377.19 17 08/24/2023
6.0.0-preview.6.21352.12 20 08/24/2023
6.0.0-preview.5.21301.5 19 05/16/2023
6.0.0-preview.4.21253.7 16 08/24/2023
6.0.0-preview.3.21201.4 21 08/24/2023
6.0.0-preview.2.21154.6 20 08/24/2023
6.0.0-preview.1.21102.12 15 08/23/2023
5.0.0 60 12/20/2020
5.0.0-rc.2.20475.5 22 08/22/2023
5.0.0-rc.1.20451.14 20 08/22/2023
5.0.0-preview.8.20407.11 16 08/27/2023
5.0.0-preview.7.20364.11 15 08/24/2023
5.0.0-preview.6.20305.6 16 08/26/2023
5.0.0-preview.5.20278.1 18 08/26/2023
5.0.0-preview.4.20251.6 22 08/25/2023
5.0.0-preview.3.20215.2 22 08/23/2023
5.0.0-preview.2.20160.3 16 08/24/2023
5.0.0-preview.1.20120.4 18 08/26/2023
3.1.32 23 06/10/2023
3.1.31 22 06/09/2023
3.1.30 22 12/13/2022
3.1.29 19 12/07/2023
3.1.28 20 06/09/2023
3.1.27 14 06/10/2023
3.1.26 19 06/09/2023
3.1.25 21 06/10/2023
3.1.24 25 06/10/2023
3.1.23 19 06/09/2023
3.1.22 23 03/03/2022
3.1.21 19 06/10/2023
3.1.20 19 05/19/2023
3.1.19 19 06/10/2023
3.1.18 17 06/10/2023
3.1.17 21 06/10/2023
3.1.16 19 06/09/2023
3.1.15 20 06/10/2023
3.1.14 104 07/08/2021
3.1.13 20 06/10/2023
3.1.12 20 06/10/2023
3.1.11 21 09/05/2022
3.1.10 32 07/23/2021
3.1.9 23 06/10/2023
3.1.8 29 09/14/2020
3.1.7 23 06/09/2023
3.1.6 24 06/10/2023
3.1.5 60 07/09/2020
3.1.4 21 01/13/2021
3.1.3 26 06/10/2023
3.1.2 24 07/21/2022
3.1.1 24 12/20/2020
3.1.0 44 05/09/2022
3.1.0-preview3.19553.2 17 08/23/2023
3.1.0-preview2.19525.4 19 02/20/2024
3.1.0-preview1.19506.1 23 08/25/2023
3.0.3 26 03/20/2023
3.0.2 22 06/11/2023
3.0.1 26 06/09/2023
3.0.0 44 12/30/2020
3.0.0-rc1.19456.10 22 08/23/2023
3.0.0-preview9.19423.4 18 08/23/2023
3.0.0-preview8.19405.4 20 08/24/2023
3.0.0-preview7.19362.4 18 08/25/2023
3.0.0-preview6.19304.6 21 08/22/2023
3.0.0-preview5.19227.9 15 08/24/2023
3.0.0-preview4.19216.2 20 08/23/2023
3.0.0-preview3.19153.1 15 08/23/2023
3.0.0-preview.19074.2 17 08/21/2023
3.0.0-preview.18572.1 14 08/23/2023
2.2.0 47 09/15/2020
2.2.0-preview3-35497 26 08/21/2023
2.2.0-preview2-35157 21 08/23/2023
2.2.0-preview1-35029 20 08/24/2023
2.1.1 46 11/19/2020
2.1.0 35 01/17/2021
2.1.0-rc1-final 27 06/09/2023
2.1.0-preview2-final 25 06/09/2023
2.1.0-preview1-final 24 06/10/2023
2.0.2 28 11/29/2019
2.0.1 23 11/29/2019
2.0.0 82 11/29/2019
2.0.0-preview2-final 27 06/09/2023
2.0.0-preview1-final 24 06/10/2023
1.1.2 31 11/25/2019
1.1.1 30 11/25/2019
1.1.0 27 11/25/2019
1.1.0-preview1-final 23 06/10/2023
1.0.2 60 11/25/2019
1.0.1 22 06/10/2023
1.0.0 48 11/25/2019
1.0.0-rc2-final 27 06/10/2023
1.0.0-rc1-final 25 06/09/2023