ConfigCore 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ConfigCore --version 1.2.0                
NuGet\Install-Package ConfigCore -Version 1.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ConfigCore" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConfigCore --version 1.2.0                
#r "nuget: ConfigCore, 1.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
4.0.1 564 9/6/2020
4.0.0 491 9/6/2020
3.0.0 443 3/15/2020
2.0.0 787 1/22/2020
1.3.1 483 1/18/2020
1.3.0 550 1/13/2020
1.2.0 519 1/11/2020
1.1.0 529 1/6/2020
1.0.1 461 12/8/2019
1.0.0 433 12/8/2019

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.