Skip to content
Query.Farm
Talk with Us

Call workers from .NET

Install the generic RPC client separately:

dotnet add package QueryFarm.VgiRpc.Client --version 0.8.0

It implements the VGI-RPC transport contract: method dispatch, unary and streaming calls, deadlines, cancellation, compression including Zstandard, external payload resolution, and worker-pool behavior. It is suitable for generated or hand-written service interfaces and for conformance drivers.

Generic RPC client, not VgiClient

The package does not currently provide high-level helpers for attaching a VGI catalog, binding SQL function arguments, or turning a VGI exchange stream into an ergonomic application-level result. Those conveniences belong to a future QueryFarm.Vgi client layer. Today, use DuckDB for ordinary VGI calls or build on the public RPC client with the protocol types you need.

This distinction is why C# can fully drive RPC conformance and cross-test other language workers without claiming feature parity with Python’s high-level application client.