ConfigCore 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ConfigCore --version 3.0.0
NuGet\Install-Package ConfigCore -Version 3.0.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="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConfigCore --version 3.0.0
#r "nuget: ConfigCore, 3.0.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=3.0.0

// Install ConfigCore as a Cake Tool
#tool nuget:?package=ConfigCore&version=3.0.0

ConfigCore

Secure, centralized configuration for .NET CORE applications

  • API Client Configuration Source
  • SQL Server Client Configuration Source
  • Encryption of sensitive configuration data at rest
  • Support for additional host environment names

ConfigCore.ApiSource - API Configuration Source/Provider Custom IConfigurationProvider 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.

ConfigCore.DbSource - Database Configuration Source/Provider This custom configuration provider sources configuration data directly from a SQL Server database. Table and Column names follow convention-based defaults for ease of configuration, but may also be overridden for flexibility.

Cryptography Features - Encrypt / Decrypt App Settings ConfigCore uses Microsoft Data Protection to encrypt sensitive configuration data prior to storage in the configuration source. The configuration settings are decrypted by the client after the configuration is built. <br/>ICryptoHelper - Provides low-level encryption and decryption functionality, and methods for managing the encrypted value prefix. <br/>CryptoConsole - Sample interactive console application that uses ICryptoHelper to encrypt strings that can later be decrypted by ConfigCore clients.

Environment Features - Custom Environments ConfigCore provides support for three custom application environments in addition to the .NET CORE standard environments

  • Local
  • Test
  • QA

Refer to the Wiki for detailed documentation and Samples including APIs, clients, and complete quickstart solutions for multiple authentication types.

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.1 is compatible. 
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 536 9/6/2020
4.0.0 478 9/6/2020
3.0.0 433 3/15/2020
2.0.0 733 1/22/2020
1.3.1 466 1/18/2020
1.3.0 532 1/13/2020
1.2.0 501 1/11/2020
1.1.0 517 1/6/2020
1.0.1 444 12/8/2019
1.0.0 422 12/8/2019

ASPNET CORE 3.1
New Features:
- Now supports Bearer Token API Authentication
- Now supports multiple Route Parameters and Query String Parameters

BREAKING CHANGES -
    - IConfigurationBuilder.AddApiSource
String parameter AppId has been changed to a string array that can be used to add multiple route parameters to the configuration base URL. To fix existing code, encase the appId string value in curly brackets to form an array.
For example: change appId parameter value from "MyApp1" to {"MyApp1"}