Nglib 1.1.8
dotnet add package Nglib --version 1.1.8
NuGet\Install-Package Nglib -Version 1.1.8
<PackageReference Include="Nglib" Version="1.1.8" />
<PackageVersion Include="Nglib" Version="1.1.8" />
<PackageReference Include="Nglib" />
paket add Nglib --version 1.1.8
#r "nuget: Nglib, 1.1.8"
#:package Nglib@1.1.8
#addin nuget:?package=Nglib&version=1.1.8
#tool nuget:?package=Nglib&version=1.1.8
NgLib - General C# Library
Nglib is a C# .NET library containing useful components and helpers for modern applications.
Open-source (MIT) - General and Common .NET Helpers, Extensions, Data Access, Dev Components, and more.
📦 Packages
| Package | Description |
|---|---|
| Nglib |
Core abstractions, basic tools, zero dependencies |
| Nglib.Data |
Data access components, DataPO ORM, providers |
| Nglib.Formula |
Dynamic formula evaluation engine |
🚀 Installation
dotnet add package Nglib
⚡ Features
- Data Accessors - Flexible data access patterns with
IDataAccessorinterface - Collections Tools - Extensions for Dictionary, List and collection manipulations
- String Tools - Advanced string manipulation and formatting utilities
- Date Tools - Date/time parsing, formatting and calculations
- Number Tools - Number formatting, conversion and validation
- Key Tools - Unique key generation and manipulation
- Reflection Tools - Simplified reflection operations
- Validation Tools - Model validation with
ValidateModelpattern - HTTP Client Tools - HTTP client helpers with token management
- Formula Engine - Expression parser and evaluator (separate package)
📖 Quick Examples
Data Accessor
using Nglib.DATA.ACCESSORS;
var data = new DictionaryData();
data.SetValue("name", "John");
data.SetValue("age", 30);
string name = data.GetValue<string>("name");
int age = data.GetValue<int>("age");
String Tools
using Nglib.FORMAT;
string random = StringTools.RandomString(12);
string cleaned = StringTools.CleanString("Hello World!");
string key = KeyTools.SanitizeKey("My-Key_123"); // "mykey123"
Validation
using Nglib.APP.DIAG;
var result = ValidateModel.Success;
if (value < 0)
result.SetInvalid("Value must be positive");
result.EnsureIsValid(); // Throws if invalid
📚 Documentation
Full documentation: https://github.com/NueGy/NgLib
🔗 Links
- GitHub Repository
- Report Issues
- NuGet Package
- View License (MIT License)
- Nuegy.net (Agency website)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Nglib:
| Package | Downloads |
|---|---|
|
Nglib.Data
Data access components for databases. Includes generic database connectors, query builder, and DataSet manipulation tools. |
|
|
Nglib.Formula
Formula parser and expression evaluator. String Format. Dynamic calculation engine with parameter support, built-in functions (math, string, date, logical), custom operators, and optimized for high-performance scenarios. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.8 | 126 | 5/22/2026 |
| 1.1.7-beta | 220 | 11/23/2025 |
| 1.1.6-beta | 205 | 4/28/2024 |
| 1.0.13-beta | 346 | 10/8/2021 |