uBeac.Configuration 0.43.2

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

// Install uBeac.Configuration as a Cake Tool
#tool nuget:?package=uBeac.Configuration&version=0.43.2                

An Attractive Solution For Your JSON Configuration Files

It may have happened to you that your project involved many configurations and you had to put them all in one file called appsettings.json. Well, everything is fine and there is no problem, but we at uBeac.Configuration offer you a more attractive solution.

What Is The Solution?

Our suggestion is to create a file for each configuration and put it in a folder. For example, we have a folder called Config that contains various json configuration files (like connection-strings.json, authentication.json, smtp.json or anything else.)

That is a lot better, is not it?


Getting Started

Install the package with NuGet:

dotnet add package uBeac.Configuration

Or:

Install-Package uBeac.Configuration

Configuration

Just put the following code in Program.cs:

builder.Configuration.AddJsonConfig(builder.Environment);
// builder.Configuration.AddJsonConfig(builder.Environment, "YourConfigFolderName");
// Default configuration folder name is "Config"

Now, you can add your json configuration files to the folder. For example, if you use the default name, just create a new folder called "Config" and put your json configuration files in it.


Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on uBeac.Configuration:

Package Downloads
uBeac.Web.Common

Contains common modules for your web projects!

uBeac.Web.Jwt

Contains common configs of JWT for your web projects!

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.43.14 766 10/21/2022
0.43.13 732 8/15/2022
0.43.12 712 7/20/2022
0.43.11 758 6/23/2022
0.43.10 667 6/23/2022
0.43.9 686 6/22/2022
0.43.8 686 6/22/2022
0.43.7 550 6/22/2022
0.43.6 698 5/29/2022
0.43.5 731 5/18/2022
0.43.4 668 5/18/2022
0.43.3 692 5/18/2022
0.43.2 683 5/13/2022
0.43.1 700 5/8/2022
0.43.0 705 5/8/2022
0.42.0 697 5/8/2022
0.40.0 700 5/1/2022
0.39.0 697 4/23/2022
0.38.0 723 4/15/2022
0.37.0 706 4/13/2022
0.36.0 699 4/13/2022
0.34.0 718 4/13/2022
0.33.0 722 4/9/2022
0.32.0 718 4/4/2022
0.31.0 720 4/3/2022
0.30.0 731 4/3/2022
0.29.0 730 4/1/2022
0.28.0 699 4/1/2022
0.27.0 716 3/31/2022
0.26.0 589 3/31/2022
0.25.0 445 3/29/2022
0.24.0 430 3/29/2022
0.23.0 443 3/29/2022
0.22.0 449 3/29/2022
0.21.0 452 3/28/2022
0.20.0 445 3/28/2022
0.19.1 418 3/28/2022
0.19.0 432 3/28/2022
0.18.0 477 3/27/2022
0.17.6 459 3/27/2022
0.17.5 441 3/27/2022
0.17.4 438 3/27/2022
0.17.3 447 3/27/2022
0.17.2 451 3/27/2022
0.17.1 451 3/27/2022
0.17.0 437 3/27/2022
0.16.0 454 3/27/2022
0.15.0 467 3/23/2022
0.14.0 440 3/23/2022
0.13.0 443 3/14/2022
0.12.0 433 3/14/2022
0.11.2 426 3/14/2022
0.11.1 443 3/14/2022
0.11.0 439 3/13/2022
0.10.0 439 3/13/2022
0.9.1 446 3/12/2022
0.9.0 451 3/12/2022
0.8.1-alpha 198 3/9/2022
0.8.0-alpha 189 3/9/2022
0.7.1 448 3/2/2022
0.7.0 433 2/28/2022
0.6.4-alpha 200 2/27/2022
0.6.3-alpha 185 2/21/2022
0.6.2-alpha 195 2/21/2022
0.6.1-alpha 202 2/20/2022
0.5.2-alpha 205 2/20/2022
0.5.1-alpha 189 2/19/2022
0.4.1-alpha 189 2/18/2022
0.3.1-alpha 202 2/16/2022
0.2.1-alpha 201 2/16/2022
0.1.5 451 2/16/2022
0.1.4 449 2/15/2022
0.1.3 440 2/15/2022
0.1.2 462 2/14/2022
0.1.1 454 2/14/2022