Skip to content

JonCubed/cake-microsoft-extensions-configuration

Repository files navigation

Cake.Microsoft.Extensions.Configuration

License

NuGet

Cake .NET Standard

Cake.Microsoft.Extensions.Configuration is an Addin that extends Cake for creating strongly typed configuration using Microsoft.Extensions.Configuration.

You can write your own ConfigurationProvider or use any of the configuration providers supported out of the box

General Notes

This is currently in alpha stage of development, feedback and contribution welcomed

Installation

Add the following reference to your cake build script:

#addin Cake.Microsoft.Extensions.Configuration

Or explicit NuGet reference:

#addin nuget:?package=Cake.Microsoft.Extensions.Configuration&version=<version>

For reliable and repeatable builds, it is strongly advised to pin your addin version.

Usage

In order to use Cake.Microsoft.Extensions.Configuration, you will need to use at least one of the Configuration Providers. By default, Cake.Microsoft.Extensions.Configuration uses the In-Memory Collection Provider, Environment Variables Provider and the Command Line Provider;

Questions

Feel free to open an issue.

Share the love

If this project helps you in anyway then please ⭐ the repository.