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
<PackageReference Include="TechTeaStudio.Config.Yaml" Version="0.1.1" />
<PackageVersion Include="TechTeaStudio.Config.Yaml" Version="0.1.1" />
<PackageReference Include="TechTeaStudio.Config.Yaml" />
paket add TechTeaStudio.Config.Yaml --version 0.1.1
#r "nuget: TechTeaStudio.Config.Yaml, 0.1.1"
#:package TechTeaStudio.Config.Yaml@0.1.1
#addin nuget:?package=TechTeaStudio.Config.Yaml&version=0.1.1
#tool nuget:?package=TechTeaStudio.Config.Yaml&version=0.1.1
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 | Versions 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. |
-
net8.0
- TechTeaStudio.Config (>= 0.1.4)
- YamlDotNet (>= 16.3.0)
-
net9.0
- TechTeaStudio.Config (>= 0.1.4)
- YamlDotNet (>= 16.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.