VersaTul.Configuration.Defaults 1.0.21

Prefix Reserved
dotnet add package VersaTul.Configuration.Defaults --version 1.0.21                
NuGet\Install-Package VersaTul.Configuration.Defaults -Version 1.0.21                
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="VersaTul.Configuration.Defaults" Version="1.0.21" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VersaTul.Configuration.Defaults --version 1.0.21                
#r "nuget: VersaTul.Configuration.Defaults, 1.0.21"                
#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 VersaTul.Configuration.Defaults as a Cake Addin
#addin nuget:?package=VersaTul.Configuration.Defaults&version=1.0.21

// Install VersaTul.Configuration.Defaults as a Cake Tool
#tool nuget:?package=VersaTul.Configuration.Defaults&version=1.0.21                

VersaTul Configuration Defaults

VersaTul Configuration Defaults is a project that enables you to quickly setup default settings for VersaTul projects. Currently, it supports Entity Framework Core and MongoDB projects.

Installation

To use VersaTul Configuration Defaults, first install it using nuget:

dotnet add package VersaTul.Configuration.Defaults

Usage

To use VersaTul Configuration Defaults, you need to create a configuration builder object and use the project-specific builder methods to add or replace the default settings. Then, you can call the BuildConfig method to create a ConfigSettings dictionary that contains the configuration values.

For example, to create a configuration for a MongoDB project, you can use the following code:

using VersaTul.Configuration.Defaults;
using VersaTul.Configuration.Defaults.MongoDb;

var configBuilder = new ConfigurationBuilder();
configBuilder.AddMongoDbDefaults()
    .AddOrReplace("ConnectionString", "mongodb://localhost:27017")
    .AddOrReplace("DatabaseName", "MyDatabase");

var config = configBuilder.BuildConfig();

For more information, please refer to the documentation of each project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.21 71 12/10/2024
1.0.20 130 4/5/2024
1.0.19 117 4/4/2024
1.0.18 122 4/4/2024
1.0.17 130 3/1/2024
1.0.16 119 2/1/2024
1.0.15 147 1/15/2024
1.0.14 108 1/11/2024
1.0.13 176 11/22/2023
1.0.12 190 7/22/2023