ConfigurationLibrary 1.0.1

.NET 5.0
Install-Package ConfigurationLibrary -Version 1.0.1
dotnet add package ConfigurationLibrary --version 1.0.1
<PackageReference Include="ConfigurationLibrary" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConfigurationLibrary --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ConfigurationLibrary, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ConfigurationLibrary as a Cake Addin
#addin nuget:?package=ConfigurationLibrary&version=1.0.1

// Install ConfigurationLibrary as a Cake Tool
#tool nuget:?package=ConfigurationLibrary&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This library provides a method to obtain a connection string to use with a data provider or Entity Framework Core, intended for desktop applications as ASP.NET Core has this already with more options via dependency injection.

In the configuration file, ActiveEnvironment points to the environment to connect, development, stage (test) and production.

Well someone may say I only have one database server. Then set the environment to any of the environments than if at a later time more servers are available you are ready.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ConfigurationLibrary:

Package Downloads
EntityFrameworkCoreHelpers

Provides methods for connecting to SQL-Server databases for EF Core 5.x

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 105 4/23/2022