ConfigCore 1.2.0
See the version list below for details.
dotnet add package ConfigCore --version 1.2.0
NuGet\Install-Package ConfigCore -Version 1.2.0
<PackageReference Include="ConfigCore" Version="1.2.0" />
paket add ConfigCore --version 1.2.0
#r "nuget: ConfigCore, 1.2.0"
// Install ConfigCore as a Cake Addin #addin nuget:?package=ConfigCore&version=1.2.0 // Install ConfigCore as a Cake Tool #tool nuget:?package=ConfigCore&version=1.2.0
ConfigCore
Secure, centralized configuration for NET.CORE applications
Objectives
- Manage application configuration settings from a secure, centralized database or API.
- Remove sensitive configuration data from source code files.
- Eliminate the need to manage environment variable settings on multiple host servers.
ConfigCore.ApiSource - API Configuration Source/Provider
Custom IConfigurationProvider which uses an HTTP client to retrieve configuration data from a REST API. Extension methods on IConfigurationBuilder are used to add the API Configuration Source to the IConfigurationBuilder prior to calling Build. When the configuration is built, the API Provider will use an HTTP Client to retrieve key/value settings pairs from the API and add them to the configuration like any other configuration provider.
Config.Core.DbSource - Database Configuration Provider
This custom configuration provider sources configuration data directly from a SQL Server database. Table and Column names used convention-based defaults for ease of configuration, but may also be overridden for flexibility.
Environment Features
ConfigCore provides support for three custom application environments in addition to the .NET CORE standard environments
- Local
- Test
- QA
See the Github project wiki for usage instructions and examples
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.0
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Configuration (>= 3.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.0.1)
- Microsoft.Extensions.Options (>= 3.1.0)
- System.Data.SqlClient (>= 4.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ConfigCore:
Package | Downloads |
---|---|
EDennis.AspNetCore.Base
Alpha version that still requires (a) updated code comments, (b) updated wiki documentation, and (c) completed sample solution |
GitHub repositories
This package is not used by any popular GitHub repositories.
IConfigurationBuilder.AddDbSource Extension Method - replaced optional parameters with method overloads.
All method signatures are now stable, no future breaking changes are expected.
Updated Sample Projects, Quickstart Solutions, and Wiki documentation have been posted to the Github source code repository.