ConfigCore 3.0.0
See the version list below for details.
dotnet add package ConfigCore --version 3.0.0
NuGet\Install-Package ConfigCore -Version 3.0.0
<PackageReference Include="ConfigCore" Version="3.0.0" />
paket add ConfigCore --version 3.0.0
#r "nuget: ConfigCore, 3.0.0"
// 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 | 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.1 is compatible. |
-
.NETCoreApp 3.1
- IdentityModel (>= 4.1.1)
- Microsoft.Data.SqlClient (>= 1.1.1)
- Microsoft.Extensions.Configuration (>= 3.1.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.1)
- Microsoft.Extensions.Options (>= 3.1.1)
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.
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"}