Nalix.Network.Hosting
12.1.2
dotnet add package Nalix.Network.Hosting --version 12.1.2
NuGet\Install-Package Nalix.Network.Hosting -Version 12.1.2
<PackageReference Include="Nalix.Network.Hosting" Version="12.1.2" />
<PackageVersion Include="Nalix.Network.Hosting" Version="12.1.2" />
<PackageReference Include="Nalix.Network.Hosting" />
paket add Nalix.Network.Hosting --version 12.1.2
#r "nuget: Nalix.Network.Hosting, 12.1.2"
#:package Nalix.Network.Hosting@12.1.2
#addin nuget:?package=Nalix.Network.Hosting&version=12.1.2
#tool nuget:?package=Nalix.Network.Hosting&version=12.1.2
Nalix.Network.Hosting
Fluent orchestration layer to build and host Nalix applications with minimal boilerplate.
Key Features
| Feature | Description |
|---|---|
| 🏗️ NetworkApplicationBuilder | Fluent API to configure listeners, protocols, and handlers. |
| 🔌 Service Integration | Built-in support for Microsoft.Extensions.Logging and InstanceManager. |
| 🔍 Auto-Discovery | Automatic scanning and registration of packet contracts and controllers. |
| ♻️ Lifecycle Management | Clean startup and shutdown orchestration for complex networking stacks. |
Installation
dotnet add package Nalix.Network.Hosting
Quick Example
using Nalix.Network.Hosting;
using var app = NetworkApplication.CreateBuilder()
.AddTcp<MyProtocol>(port: 8080)
.AddPacket<MyPacket>()
.AddHandlers<MyHandlers>()
.Build();
await app.RunAsync();
Documentation
For full end-to-end setup guides, check the Quickstart.
| 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 (>= 12.1.2)
- Nalix.Framework (>= 12.1.2)
- Nalix.Network (>= 12.1.2)
- Nalix.Runtime (>= 12.1.2)
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 |
|---|
- Unified Server Bootstrapping: Simplified Microsoft-style host builder APIs for seamless TCP and UDP transport orchestration.
- Pluggable Security Hooks: Added support for custom UDP authentication predicates and security filtering directly during the build phase.
- Coordinated Lifecycle: Advanced management of configuration reloads, dispatch activation, and listener startup for robust service availability.
- Dependency-Injection Integration: Streamlined registration of core network services into the standard Nalix InstanceManager.