Nalix.Environment 14.4.0

dotnet add package Nalix.Environment --version 14.4.0
                    
NuGet\Install-Package Nalix.Environment -Version 14.4.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.Environment" Version="14.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nalix.Environment" Version="14.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Nalix.Environment" />
                    
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.Environment --version 14.4.0
                    
#r "nuget: Nalix.Environment, 14.4.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.Environment@14.4.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.Environment&version=14.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Nalix.Environment&version=14.4.0
                    
Install as a Cake Tool

Nalix.Environment

Runtime bootstrap, configuration loading, memory I/O primitives, filesystem setup, and timing utilities for Nalix.

Nalix.Environment is intentionally low level. It provides the infrastructure used by higher-level packages without depending on networking, hosting, or runtime dispatch code.

Install

dotnet add package Nalix.Environment

What It Provides

Area Purpose Main types
Memory I/O Span-based readers, writers, and leased buffers DataReader, DataWriter, BufferLease
Configuration AOT-safe INI loading and option binding ConfigurationManager, ConfigurationLoader, IniConfig
Fragmentation Multi-chunk payload reassembly and timeout tracking FragmentAssembler, FragmentHeader, FragmentAssemblyResult, FragmentStreamId
Filesystem Cross-platform application directories and permission hardening Directories
Time Unix clock helpers and timing scopes Clock, TimingScope
Hashing Non-cryptographic hashing XxHash32
Random Thread-safe pseudo-random and OS CSPRNG helpers Csprng, OsCsprng
Sequencing Monotonic sequence validation SequenceCounter
Options Environment-level option models MemoryOptions, FragmentOptions, SequenceOptions

Minimal Usage

using Nalix.Environment.Memory;

using DataWriter writer = new(256);

Span<byte> buffer = writer.FreeBuffer;
buffer[0] = 0xAA;
buffer[1] = 0xBB;

writer.Advance(2);

byte[] payload = writer.ToArray();

Design Notes

  • DataReader and DataWriter are ref structs for predictable stack-friendly access.
  • BufferLease is pooled and must be disposed or returned according to ownership rules.
  • Configuration binding is designed for Native AOT scenarios.

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Nalix.Environment:

Package Downloads
Nalix.Framework

Nalix.Framework is a high-performance foundational library that provides core building blocks for the Nalix ecosystem — including dependency injection, task orchestration, memory pooling, identity generation, and diagnostic event infrastructure. Designed for modern .NET 10, it follows SOLID and Domain-Driven Design (DDD) principles, emphasizing zero-allocation performance, thread safety, and secure coding practices.

Nalix.Codec

Nalix.Codec is a high-performance data transformation and framing engine for the Nalix ecosystem. It provides a unified pipeline for serialization, stream compression (LZ4), and AEAD cryptography. Designed for .NET 10, it enables zero-allocation object-to-packet transformation, secure handshake protocols, and robust data framing, ensuring maximum throughput and end-to-end data integrity.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
14.4.0 997 11/22/2026
14.3.10 212 11/19/2026
14.3.9 12,184 10/27/2026
14.3.8 717 10/26/2026
14.3.7 4,077 10/24/2026
14.3.6 166 10/24/2026
14.3.5 275 10/6/2026
14.3.4 150 10/6/2026
14.3.3 204 9/26/2026
14.3.2 170 9/26/2026
14.3.1 372 8/29/2026
14.3.0 196 8/27/2026
14.2.18 234 8/13/2026
14.2.17 230 8/11/2026
14.2.16 275 8/1/2026
14.2.15 218 7/31/2026
14.2.14 210 7/31/2026
14.2.13 207 7/31/2026
14.2.12 220 7/29/2026
14.2.11 208 7/28/2026
Loading failed

- Infrastructure Decoupling: Successfully migrated Environment IO, Unix Directory Permissions, and Configuration Loading logic from the main framework to Nalix.Environment.
- Secure Bootstrapping: Hardened filesystem sanitization and directory preparation helpers for cross-platform reliability.
- Performance Configuration: Optimized ConfigurationLoader and Binding systems to support zero-allocation POCO options.
- Clean Dependency Flow: Established a lean foundation that serves as the primary configuration provider for Nalix.Codec, Nalix.Framework, and Nalix.Runtime.