Nalix.Framework 12.6.0

dotnet add package Nalix.Framework --version 12.6.0
                    
NuGet\Install-Package Nalix.Framework -Version 12.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nalix.Framework" Version="12.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nalix.Framework" Version="12.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Nalix.Framework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nalix.Framework --version 12.6.0
                    
#r "nuget: Nalix.Framework, 12.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nalix.Framework@12.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nalix.Framework&version=12.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Nalix.Framework&version=12.6.0
                    
Install as a Cake Tool

Nalix.Framework

High-performance serialization, memory management, cryptography, and shared data structures — the engine room of Nalix.

Key Features

Feature Description
📦 LiteSerializer Zero-allocation serialization for POCOs and packets.
🧠 BufferPoolManager Shard-aware buffer pooling for LOH and stack-friendly allocations.
♻️ ObjectPoolManager High-throughput object pooling with periodic scrubbing.
📐 DataFrames Base abstractions for packet models and framing.
🆔 Identifiers 64-bit Snowflake-style unique ID generation.
🔐 Cryptography AEAD ciphers (ChaCha20-Poly1305, Salsa20-Poly1305) and X25519 key exchange.

Installation

dotnet add package Nalix.Framework

Quick Example: Buffer Pooling

using System;
using Nalix.Environment.Memory;

// Rent a buffer lease of at least 1024 bytes
using BufferLease lease = BufferLease.Rent(1024);

// Write data into the full writable span of the lease
Span<byte> buffer = lease.SpanFull;
buffer[0] = 0x12;
buffer[1] = 0x34;

// Commit the written length
lease.CommitLength(2);

// Access the active payload span
Span<byte> payload = lease.Span;

Quick Example: Unique ID Generation (Snowflake)

using System;
using Nalix.Abstractions.Identity;
using Nalix.Framework.Identifiers;

// Generate a new 64-bit unique Snowflake ID for a Session entity
Snowflake sessionId = Snowflake.NewId(SnowflakeType.System);

Console.WriteLine($"Generated ID: {sessionId}");
Console.WriteLine($"Timestamp Component: {sessionId.Value}");
Console.WriteLine($"Machine ID Component: {sessionId.MachineId}");

Documentation

For deep dives into memory management, serialization, and cryptography, see the official documentation.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Nalix.Framework:

Package Downloads
Nalix.Network

Nalix.Network is the high-performance networking runtime for the Nalix ecosystem. It provides TCP and UDP listeners, connection management, packet dispatch, protocol lifecycle orchestration, middleware integration, and adaptive throttling for building scalable distributed services. Designed for latency-sensitive workloads, it emphasizes efficient I/O, predictable concurrency, observability, and secure transport behavior so applications can process real-time traffic reliably under sustained load.

Nalix.Shared

Nalix.Shared provides the foundational low-level primitives and shared utilities for the Nalix ecosystem — including configuration binding, memory pooling, LZ4 compression, high-performance messaging, and lightweight serialization. It is optimized for zero-allocation patterns, Span{T}-based APIs, and unsafe memory access to achieve maximum throughput in real-time and networking environments.

Nalix.Logging

Nalix.Logging is a high-performance, asynchronous logging subsystem designed for large-scale and low-latency applications in the Nalix ecosystem. It features a modular engine with pluggable sinks (console, file, channel), batched file writing, and fully configurable logging options. Built with a zero-lock, channel-based pipeline, it ensures efficient, non-blocking log processing under heavy concurrent workloads.

Nalix.Runtime

Nalix.Runtime provides the core packet processing and middleware infrastructure for the Nalix ecosystem. It includes the middleware pipeline orchestration, packet dispatching channels, and execution management needed to handle message-oriented traffic with high efficiency and low latency. It serves as the foundation for building complex message-processing workflows, offering a modular and extensible architecture that decouples transport logic from application-level packet handling.

Nalix.Hosting

Nalix.Hosting provides Microsoft-style host and builder APIs for the Nalix ecosystem. It wires configuration loading, diagnostic event bridging, packet dispatch, and TCP/UDP listener lifecycle into a familiar builder/build/start workflow for quickly bootstrapping Nalix-based servers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.6.0 157 5/26/2026
12.5.1 161 5/24/2026
12.5.0 144 5/23/2026
12.4.1 133 5/17/2026
12.4.0 130 5/17/2026
12.3.0 138 5/15/2026
12.2.5 136 5/14/2026
12.2.4 147 5/8/2026
12.2.1 123 5/4/2026
12.2.0 129 5/4/2026
12.1.2 153 4/26/2026
12.1.1 145 4/25/2026
12.1.0 159 4/24/2026
12.0.9 157 4/19/2026
12.0.8 153 4/16/2026
12.0.7 145 4/10/2026
12.0.6 145 4/10/2026
12.0.5 157 4/9/2026
12.0.4 144 4/6/2026
12.0.3 135 4/6/2026
Loading failed

- Diagnostic Events: Centralized DiagnosticsEvents registry with strongly-typed event names for Tasks, Memory, and Injection observability.
- Task Orchestration: Optimized TaskManager with worker lifecycle management, recurring jobs, group cancellation, and dispatcher diagnostics.
- Memory Pooling: High-performance ObjectPoolManager and BufferPoolManager with expand/trim/sentinel leak detection.
- Dependency Injection: Lightweight InstanceManager with diagnostic event emission for registration, resolution, and failures.
- Identity Generation: Configurable Snowflake-based ID generation with worker-node isolation.