Nalix.Shared 11.7.0

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

Icon Nalix

.NET

GitHub License NuGet Version NuGet Downloads

Issues PRs GitHub file size in bytes GitHub commit activity

📖 About

Nalix is a real-time server solution designed for efficient communication and data sharing. It enables instant messaging, data synchronization, and secure networking, making it ideal for applications requiring live updates.

🛠ïļ Latest Builds

Enviroment Status
linux Nalix
mac Nalix
win Nalix

âœĻ Features

  • ðŸ–Ĩïļ Cross-Platform – Runs on Windows, Linux, and macOS with .NET 10+.
  • 🔄 Real-time communication – Supports instant messaging and state synchronization.
  • 🔌 Pluggable Protocols – Easily add and swap network, serialization, or security protocols without modifying core logic.
  • ðŸ›Īïļ Custom Middleware – Define middleware to control authentication, validation, transformation, throttling, and more.
  • ⚡ High performance – Designed to handle thousands of concurrent connections.
  • 🔐 Security-focused – Implements encryption (ChaCha20-Poly1305, Salsa20-Poly1305) to protect data.
  • 🛠ïļ Extensible – Easily customizable with your own protocols and handlers.
  • ðŸ“Ą Live Updates – Stay up to date with real-time updates, ensuring dynamic and responsive experiences.
  • ðŸ’ŧ Modern C# Implementation – Leveraging cutting-edge C# features for clean, efficient, and maintainable code.
  • ðŸ§Đ SOLID & DDD Principles – Adhering to SOLID principles and Domain-Driven Design for a robust and scalable architecture.

🔧 Requirements

ðŸ’ŧ Technologies

  • C#

  • .Net 10

  • Console Debug Logging

  • XUnit Testing

  • BenchmarkDotNet

    Technologies

📈 Benchmarks

Note: All benchmarks are performed on .NET 10.0, Intel i7-13620H, Windows 11, using BenchmarkDotNet v0.15.8.

🔒 Envelope Encryption

Method Payload Algorithm Mean Allocated
Encrypt 128 SALSA20 356 ns -
Decrypt 128 SALSA20 281 ns 48 B
Encrypt 8192 CHACHA20_POLY1305 48,649 ns -
Decrypt 8192 CHACHA20_POLY1305 26,153 ns 48 B

🏎ïļ X25519 ECC

Method KeyPairCount Mean Allocated
X25519.GenerateKeyPair (CSPRNG + scalar mult) 1 65.36 Ξs 112 B
X25519.GenerateKeyFromPrivateKey (scalar only) 1 67.35 Ξs 112 B
X25519.Agreement (shared secret) 1 66.59 Ξs 56 B

🔄 Serialization

Method ArrayLength Mean (ns) Allocated
Serialize<int[]> ➔ byte[] 256 0.0476 -
Deserialize<int> ← ReadOnlySpan<byte> (ref) 256 0.1097 -
Serialize<LargeStruct> ➔ existing byte[] buffer 2048 0.0396 -
Deserialize<LargeStruct> ← ReadOnlySpan<byte> (ref) 2048 0.2274 1 B

... See more in the detailed benchmark report file.


More details: See the docs/Nalix.Benchmarks folder in the repository for full data and additional test cases.


ðŸ“Ķ Available NuGet Packages

Package ID Description
Nalix.SDK Client-side SDK offering controllers, time sync, and localization utilities for connecting to Nalix.Network.
Nalix.Common Core abstractions, enums, and shared contracts for the Nalix ecosystem.
Nalix.Shared Shared low-level utilities and primitives such as memory pooling, LZ4 compression, and lightweight serialization.
Nalix.Logging Asynchronous and high-performance logging subsystem with batching and multiple sinks.
Nalix.Network Core networking runtime providing TCP/UDP connections, protocol pipelines, and throttling.
Nalix.Framework High-level framework providing identity, injection, randomization, and task orchestration.

ðŸ“Ķ Installation

You can install Nalix packages individually via NuGet:

dotnet add package Nalix.SDK
dotnet add package Nalix.Common
dotnet add package Nalix.Shared
dotnet add package Nalix.Logging
dotnet add package Nalix.Network
dotnet add package Nalix.Framework

All Nalix packages target .NET 10 with full support for C# 14 features.

🛠ïļ Contributing

When contributing, please follow our Code of Conduct and submit PRs with proper documentation and tests.

ðŸ›Ąïļ Security

Please review our Security Policy for supported versions and vulnerability reporting procedures.

📜 License

Nalix is copyright ÂĐ PhcNguyen - Provided under the Apache License, Version 2.0.

📎 Contact

For questions, suggestions, or support, open an issue on GitHub or contact the maintainers.

Give a ⭐ïļ if this project helped you!

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.7.0 174 3/17/2026 11.7.0 is deprecated because it is no longer maintained and has critical bugs.
11.6.1 181 3/16/2026 11.6.1 is deprecated because it is no longer maintained and has critical bugs.
11.6.0 171 3/16/2026 11.6.0 is deprecated because it is no longer maintained and has critical bugs.
11.5.1 188 3/16/2026 11.5.1 is deprecated because it is no longer maintained and has critical bugs.
11.5.0 163 3/16/2026 11.5.0 is deprecated because it is no longer maintained and has critical bugs.
11.4.9 160 3/15/2026 11.4.9 is deprecated because it is no longer maintained and has critical bugs.
11.4.0 169 3/15/2026 11.4.0 is deprecated because it is no longer maintained and has critical bugs.
11.3.0 169 3/13/2026 11.3.0 is deprecated because it is no longer maintained and has critical bugs.
11.1.4 187 3/12/2026 11.1.4 is deprecated because it is no longer maintained and has critical bugs.
11.1.2 157 3/10/2026 11.1.2 is deprecated because it is no longer maintained and has critical bugs.
11.1.1 143 3/10/2026 11.1.1 is deprecated because it is no longer maintained and has critical bugs.
11.1.0 146 3/9/2026 11.1.0 is deprecated because it is no longer maintained and has critical bugs.
11.0.9 140 3/9/2026 11.0.9 is deprecated because it is no longer maintained and has critical bugs.
11.0.8 139 3/9/2026 11.0.8 is deprecated because it is no longer maintained and has critical bugs.
Loading failed

- Added Memory subsystem with buffer pools, caches, and unsafe span utilities.
- Introduced LZ4 extensions with block header parser and streaming codec.
- Implemented Messaging primitives for binary and text frame handling.
- Added lightweight Serializer/Deserializer (LiteSerializer) with formatters and bounds checking.
- Enhanced ConfigurationManager with internal binding and extension support.
- Improved dependency layout for reuse across Nalix.Framework and Nalix.SDK.
- General performance improvements and code cleanup.