TechTeaStudio.Config
0.1.4
dotnet add package TechTeaStudio.Config --version 0.1.4
NuGet\Install-Package TechTeaStudio.Config -Version 0.1.4
<PackageReference Include="TechTeaStudio.Config" Version="0.1.4" />
<PackageVersion Include="TechTeaStudio.Config" Version="0.1.4" />
<PackageReference Include="TechTeaStudio.Config" />
paket add TechTeaStudio.Config --version 0.1.4
#r "nuget: TechTeaStudio.Config, 0.1.4"
#:package TechTeaStudio.Config@0.1.4
#addin nuget:?package=TechTeaStudio.Config&version=0.1.4
#tool nuget:?package=TechTeaStudio.Config&version=0.1.4
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
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on TechTeaStudio.Config:
Package | Downloads |
---|---|
TechTeaStudio.Config.Xml
XML configurator for TechTeaStudio configuration. |
|
TechTeaStudio.Config.Yaml
Yaml configurator for TechTeaStudio configuration. |
|
TechTeaStudio.Config.Ini
Ini configurator for TechTeaStudio configuration. |
GitHub repositories
This package is not used by any popular GitHub repositories.