TechTeaStudio.Config.Yaml 0.1.1

dotnet add package TechTeaStudio.Config.Yaml --version 0.1.1
                    
NuGet\Install-Package TechTeaStudio.Config.Yaml -Version 0.1.1
                    
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="TechTeaStudio.Config.Yaml" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TechTeaStudio.Config.Yaml" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="TechTeaStudio.Config.Yaml" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TechTeaStudio.Config.Yaml --version 0.1.1
                    
#r "nuget: TechTeaStudio.Config.Yaml, 0.1.1"
                    
#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.
#:package TechTeaStudio.Config.Yaml@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TechTeaStudio.Config.Yaml&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=TechTeaStudio.Config.Yaml&version=0.1.1
                    
Install as a Cake Tool

ConfigBase

Welcome to ConfigBase! 🎉

A cool, old-school library for handling configuration files with style. Whether you're dealing with JSON, XML, YAML, or INI formats, ConfigBase has got you covered! 🛠️

Features

  • Versatile Configuration: Easily manage settings in your preferred format—be it JSON, XML, YAML, or INI. 🌈
  • User-Friendly: Designed with simplicity in mind, making configuration management a breeze! 🌬️
  • Robust Performance: Built to handle your config needs efficiently and reliably. ⚡

Getting Started

To get started, simply install the package using your favourite package manager. Here’s an example for NuGet:

    dotnet add package TechTeaStudio.Config

Usage

To use ConfigBase, you'll need to create a class that represents your configuration. Use the ConfigFileHandler class to read and write your configuration:

    var configHandler = new ConfigFileHandler<MyConfig>(
        directoryPath: @"", // Path to the directory
        fileName: "config", // File name without extension
        fileExtension: "json", // File extension
        defaultConfig: new MyConfig
        {
            DatabaseConnectionString = "Server=myServer;Database=myDb;User=myUser;Password=myPass;",
            DatabaseName = "default_db",
            ApiToken = "your_api_token_here",
            ApiBaseUrl = "https://api.example.com",
            EnableLogging = true
        },
        new JsonConfigSerializer<MyConfig>()
    );

Contribution

Feel free to contribute! Open issues, submit pull requests, or share your feedback. We love to hear from you! ❤️

License

This project is licensed under the MIT License. For more details, please check the LICENSE file.


Join us in making configuration management a delightful experience! Happy coding! 🎊

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.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
0.1.1 112 1/26/2025
0.1.0 134 9/22/2024