Lakona.Rpc.Server 0.12.1

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

Lakona.Rpc.Server

Server runtime implementation for Lakona.Rpc.

Install

dotnet add package Lakona.Rpc.Server

Documentation

API reference: https://bruce48x.github.io/Lakona.Rpc/reference/api/

Design boundary: https://bruce48x.github.io/Lakona.Rpc/concepts/design-boundary/

Dependencies

  • Lakona.Rpc.Core

Lakona.Rpc.Server has no hard dependency on concrete serializer or transport implementations.

Includes

  • RpcServerHostBuilder
  • RpcServerHost
  • RpcGeneratedServiceBinder
  • runtime dispatch infrastructure used by generated service binders

Use RpcServerHostBuilder to compose serializer, transport, generated binders, and security in one place:

var builder = RpcServerHostBuilder.Create()
    .UseCommandLine(args)
    .UseSerializer(new MemoryPackRpcSerializer())
    .UseKeepAlive(TimeSpan.FromSeconds(15), TimeSpan.FromSeconds(45))
    .UseAcceptor(new TcpConnectionAcceptor(20000));

await builder.RunAsync();

When the entry assembly contains code-generated AllServicesBinder, the builder binds it automatically.

Extension Boundary

Server applications should not create RpcSession directly or hand-write (serviceId, methodId) handler dictionaries. RpcSession, RpcServiceRegistry, and low-level handler delegates are runtime implementation and generated-binder support APIs.

Custom transports and serializers are supported extension points. Implement ITransport, IRpcConnectionAcceptor, or IRpcSerializer, then pass those implementations into RpcServerHostBuilder.

KeepAlive

RpcServerHostBuilder.UseKeepAlive(...) enables connection-level idle timeout handling for accepted sessions.

  • The server automatically replies to client keepalive pings with pong.
  • When enabled on the host, each accepted connection also tracks idle time and disconnects sessions that remain inactive longer than the configured timeout.

Authentication And Authorization Boundary

Lakona.Rpc.Server is focused on RPC session management, transport integration, request dispatch, and connection-level concerns such as framing, keepalive, and transport security. Request-level authorization is not built into the server runtime by design.

See the canonical design boundary page for the production integration boundary:

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 (2)

Showing the top 2 NuGet packages that depend on Lakona.Rpc.Server:

Package Downloads
Lakona.Game.Cluster.Rpc

Lakona.Rpc-based node messenger adapter for Lakona.Game cluster routing.

Lakona.Game.Server

Server-side actor runtime, RPC hosting helpers, session lifecycle, and reliable push infrastructure for Lakona.Game applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.12.1 41 6/7/2026