Nalix.Shared
11.7.0
dotnet add package Nalix.Shared --version 11.7.0
NuGet\Install-Package Nalix.Shared -Version 11.7.0
<PackageReference Include="Nalix.Shared" Version="11.7.0" />
<PackageVersion Include="Nalix.Shared" Version="11.7.0" />
<PackageReference Include="Nalix.Shared" />
paket add Nalix.Shared --version 11.7.0
#r "nuget: Nalix.Shared, 11.7.0"
#:package Nalix.Shared@11.7.0
#addin nuget:?package=Nalix.Shared&version=11.7.0
#tool nuget:?package=Nalix.Shared&version=11.7.0
Nalix
ð 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 |
|---|---|
âĻ 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
- .NET 10 and C# 14 support
- Install .NET SDK 10 from dotnet.microsoft.com
Visual Studio 2026Download Visual Studio
ðŧ 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.Benchmarksfolder 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 | Versions 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. |
-
net10.0
- Nalix.Common (>= 11.7.0)
- Nalix.Framework (>= 11.7.0)
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.6.1 | 181 | 3/16/2026 | |
| 11.6.0 | 171 | 3/16/2026 | |
| 11.5.1 | 188 | 3/16/2026 | |
| 11.5.0 | 163 | 3/16/2026 | |
| 11.4.9 | 160 | 3/15/2026 | |
| 11.4.0 | 169 | 3/15/2026 | |
| 11.3.0 | 169 | 3/13/2026 | |
| 11.1.4 | 187 | 3/12/2026 | |
| 11.1.2 | 157 | 3/10/2026 | |
| 11.1.1 | 143 | 3/10/2026 | |
| 11.1.0 | 146 | 3/9/2026 | |
| 11.0.9 | 140 | 3/9/2026 | |
| 11.0.8 | 139 | 3/9/2026 |
- 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.