Skip to content
Matthew Layton edited this page Nov 15, 2026 · 9 revisions

ONIX Labs

ONIXLabs .NET Library

.NET .NET 8.0 | 9.0 | 10.0 | 11.0 C# 15 NuGet License

The ONIXLabs .NET Library is a suite of general-purpose, production-ready libraries for modern .NET application development, with a strong emphasis on correctness, composability, and value semantics. The libraries integrate cleanly into both small utilities and large-scale systems without imposing architectural constraints or framework lock-in.

This wiki is the conceptual and reference documentation for the library. Use the sections below to find an overview of each package, the types it contributes, and the runtimes it supports.

In This Section

Package Description
OnixLabs.Core Foundational primitives, patterns, and extensions that fill gaps in the Base Class Library.
OnixLabs.DependencyInjection Configuration-driven service registration for Microsoft's DI abstractions.
OnixLabs.Numerics Arbitrary-precision numbers, extended-width integers, and generic math utilities.
OnixLabs.Security Non-cryptographic security utilities for safe generation of security values.
OnixLabs.Security.Cryptography Strongly typed cryptographic primitives and structures with value semantics.

Overview

At a high level, the library provides:

  • Foundational primitives and patterns missing or underrepresented in the BCL.
  • Functional and value-oriented abstractions for safer code.
  • High-precision numeric and generic math utilities.
  • Security and cryptography APIs with strong typing and value semantics.
  • Infrastructure helpers that reduce boilerplate while preserving clarity.

Design Philosophy

Principle Description
Correctness APIs are designed to make invalid states unrepresentable and to surface failure explicitly rather than silently.
Composability Types are small, orthogonal, and intended to combine cleanly without coupling to a particular framework.
Value semantics Equality and comparison are based on value, not reference, through interfaces such as IValueEquatable<T> and IValueComparable<T>.
No lock-in The libraries add capability without dictating application architecture.

Requirements

Item Supported
Target frameworks .NET 8.0, .NET 9.0, .NET 10.0, .NET 11.0
Language version C# 15
Nullable reference types Enabled
License Apache-2.0

All packages are published to NuGet.

Installation

Install the packages you need with the .NET CLI:

dotnet add package OnixLabs.Core
dotnet add package OnixLabs.DependencyInjection
dotnet add package OnixLabs.Numerics
dotnet add package OnixLabs.Security
dotnet add package OnixLabs.Security.Cryptography

See Also

ONIXLabs .NET Library


Clone this wiki locally