Themis.Inference.Remote.Rpc 4.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Themis.Inference.Remote.Rpc --version 4.7.0
                    
NuGet\Install-Package Themis.Inference.Remote.Rpc -Version 4.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="Themis.Inference.Remote.Rpc" Version="4.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Themis.Inference.Remote.Rpc" Version="4.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Themis.Inference.Remote.Rpc" />
                    
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 Themis.Inference.Remote.Rpc --version 4.7.0
                    
#r "nuget: Themis.Inference.Remote.Rpc, 4.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 Themis.Inference.Remote.Rpc@4.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=Themis.Inference.Remote.Rpc&version=4.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Themis.Inference.Remote.Rpc&version=4.7.0
                    
Install as a Cake Tool

Themis.Inference.Remote.Rpc

Themis.Inference.Remote.Rpc connects service-specific RPC clients to Themis' IDecisionInferenceProvider contract. It provides the routed provider, cancellation forwarding, end-to-end latency measurement, and lifecycle logging. The host supplies an IRemoteDecisionRpcProtocol that invokes its RPC client and maps the service contract to and from typed Themis decisions.

The package intentionally has no dependency on gRPC, a generated client, or an RPC wire format. RPC frameworks differ in their method descriptors, generated message types, metadata, deadlines, retry policies, and status exceptions. The protocol adapter owns those details, uses the caller cancellation token, and preserves transport exceptions. Register the framework's client and any authentication, retry, and deadline policy in the host's dependency-injection container.

Registration

Implement IRemoteDecisionRpcProtocol using the RPC client of choice, then register the provider with the shared decision router:

using Themis.Core;
using Themis.Core.Extensions;
using Themis.Inference.Remote.Rpc;

services.AddThemisRemoteRpcDecisionInference<MyDecisionRpcProtocol>();
services.AddThemisDecisionRouter(new DecisionRouterOptions("model-v1")
{
    RouteUnspecifiedRequestsToDefaultModel = true
});

The protocol is registered as a transient service and can resolve a host- registered RPC client from dependency injection. Use the keyed registration overload when a host needs multiple RPC clients or protocols:

services.AddThemisRemoteRpcDecisionInference<MySecondaryDecisionRpcProtocol>("secondary");

The module forwards cancellation, records end-to-end latency in DecisionUsage, and logs request completion or failure without logging decision content. Protocol and provider exceptions propagate unchanged; cancellation is not logged as an inference failure. The module does not define generic metadata, deadline, retry, authentication, or status-code policy.

The test suite includes a generated-client gRPC example backed by ASP.NET Core's in-process TestServer. Its gRPC packages are test-only and are not dependencies of this transport-neutral package.

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

Showing the top 1 NuGet packages that depend on Themis.Inference.Remote.Rpc:

Package Downloads
Themis.Inference.Remote.Grpc

Configurable gRPC client and server integration for Themis decision inference.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.8.0 0 11/29/2026
4.7.2 51 11/28/2026
4.7.1 65 11/24/2026
4.7.0 61 11/24/2026
4.6.0 104 11/22/2026
4.5.0 111 11/17/2026
4.4.0 108 11/17/2026
4.3.2 106 11/13/2026
4.3.1 106 11/12/2026
4.3.0 114 11/7/2026
4.2.0 110 11/5/2026