xyToolz 1.3.16
dotnet add package xyToolz --version 1.3.16
NuGet\Install-Package xyToolz -Version 1.3.16
<PackageReference Include="xyToolz" Version="1.3.16" />
<PackageVersion Include="xyToolz" Version="1.3.16" />
<PackageReference Include="xyToolz" />
paket add xyToolz --version 1.3.16
#r "nuget: xyToolz, 1.3.16"
#:package xyToolz@1.3.16
#addin nuget:?package=xyToolz&version=1.3.16
#tool nuget:?package=xyToolz&version=1.3.16
xyToolz
Core utility library of the xy empire. My main goal here is to save some seconds. This provides helper classes for .NET: files, hashing/RSA, JSON/XML, PDF, dates, logging integration, and misc QOL helpers.
Disclaimer
!!! Attention !!! Achtung !!! Uwaga !!! This is my quick and dirty version for personal use, thus it can be a nightmare when it comes to dependency handling... If you prefer the components on their own, there are corresponding NuGets for each component of this toolbox.
For the love of compability, i still let this run in .NET8... Until further notice, this will continue to stay exactly that way! (When i change the framework, i will change the first digit to 2, dont worry about accidentally breaking stuff, lol)
Modules
Security
- xyHasher — PBKDF2 password hashing, salted hash build/verify, AES key derivation from password.
- xyRsa — RS256 JWT signing/validation, PEM key loading/export.
- xyDataProtector — encrypt/decrypt objects, strings, bytes to/from file; test-double override support.
Filesystem
- xyFiles — async read/write (text, bytes, streams), file inventory, rename/delete, test-double override support.
- xyDirectoryHelper — directory create/copy/move/rename/clear/delete, compress/extract, folder size, recursive listing,
FileSystemWatcherhelper. - xyPath — path helpers.
Serialization
- xyJson — generic JSON read/write to file.
- xyXml — XML (de)serialization.
Chrono
- xyDate, xyTime — date/time helpers.
Maths
- xyConversion — type/string conversion helpers.
- SumOfDigits — digit-sum utility.
Enumerables / Extensions
- xyList — list helper.
- Extension methods for
string,byte[],List<T>,Dictionary<K,V>.
- xyPdf — PDF generation/manipulation (built on PDFsharp/PdfSharpCore).
- xyCard — internal card/template helper used by
xyPdf, not part of the public API.
Fonts
- AutoResourceFontResolver — font resolution for PDF rendering.
QOL
- xy — misc static helpers: byte/string conversion, random strings, path normalization, safe parsing,
TryCatchwrappers. - xyPropertyHelper, xySpiller — misc helpers.
Database (outsourced due to dependencies)
Simple EF Core wrapper: https://www.nuget.org/packages/ExtendedCRUD/
Driver (WIP)
xyWebDriver — Selenium-based browser automation. Currently disabled.
Example
string saltedHash = xyHasher.BuildSaltedHash(HashAlgorithmName.SHA256, "Secure123!", out var salt);
bool valid = xyHasher.VerifyPassword(HashAlgorithmName.SHA256, "Secure123!", saltedHash);
var lines = await xyFiles.ReadLinesAsync("settings.txt");
await xyFiles.SaveToFile("Hello!", "output.txt");
var config = xyJson.ReadFromFile<MyConfig>("settings.json");
Dependencies
Haters will say its not dependency-free. Notable NuGet packages: Newtonsoft.Json, PDFsharp, PdfSharpCore, SixLabors.ImageSharp, Microsoft.IdentityModel.Tokens, System.IdentityModel.Tokens.Jwt, xyLogger, xyMessageFactory.
Logging (xyLog) is provided by the external xyLogger package, not by this repo.
📜 License
Licensed under GNU GPLv3
See: https://www.gnu.org/licenses/gpl-3.0.en.html
👤 Author
Created by the ThrashingLaggard for internal tooling, education, and experiments. https://github.com/ThrashingLaggard
| 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 was computed. 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
- Microsoft.Extensions.Configuration (>= 10.0.12)
- Microsoft.Extensions.Configuration.Json (>= 10.0.12)
- Microsoft.IdentityModel.Tokens (>= 8.23.0)
- Newtonsoft.Json (>= 13.0.4)
- PDFsharp (>= 6.2.4)
- System.Drawing.Common (>= 10.0.12)
- System.IdentityModel.Tokens.Jwt (>= 8.23.0)
- System.Security.Cryptography.ProtectedData (>= 10.0.12)
- System.Text.Json (>= 10.0.12)
- xyLogger (>= 1.0.4)
- xyMessageFactory (>= 1.0.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on xyToolz:
| Package | Downloads |
|---|---|
|
xyPortHelper
Providing basic operations for ports like: listing open ports and connections open and close ports and connections send messages via TCP or UDP |
|
|
ExtendedCRUD
CRUD + Pageineering + x |
|
|
xyDebugConsole
Custom debug console for apps without console |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.3.16 | 128 | 10/30/2026 | |
| 1.3.15 | 105 | 10/30/2026 | |
| 1.3.14 | 111 | 10/30/2026 | |
| 1.3.13 | 100 | 10/30/2026 | |
| 1.3.12 | 132 | 10/9/2026 | |
| 1.3.11 | 180 | 7/29/2026 | |
| 1.3.10 | 143 | 7/29/2026 | |
| 1.3.9 | 132 | 7/29/2026 | |
| 1.3.8 | 140 | 7/29/2026 | |
| 1.3.7 | 148 | 7/29/2026 | |
| 1.3.6 | 143 | 7/29/2026 | |
| 1.3.5 | 139 | 7/29/2026 | |
| 1.3.4 | 209 | 7/15/2026 | |
| 1.3.3 | 169 | 7/15/2026 | |
| 1.3.2 | 268 | 6/23/2026 | |
| 1.3.1 | 176 | 5/17/2026 | |
| 1.3.0 | 155 | 5/17/2026 | |
| 1.2.1 | 166 | 4/17/2026 | |
| 1.2.0 | 186 | 4/15/2026 | |
| 1.1.0 | 171 | 3/24/2026 |