Skip to content

Examples

The maintained, runnable example lives in the repository under samples/GameServer. It combines all three modes - and the machinery around them: service IPC, event kernels, live settings, host bindings, policy-gated execution, and a server extension (Pushdown) - in one program.

One maintained program (instead of many small samples that drift out of sync) means every mode is exercised end to end against the same host: Services (RPC) for typed interop, event pipelines (RunLocal) for server-side filtering and projection, and Pushdown for collapsing N calls into one server-side batch. Regression tests pin that behavior in place - see the regression suite

  • so the walkthrough below describes code that is proven to run, not illustrative snippets.

  • GameServer walkthrough - an annotated tour that maps each feature to the file that implements it.

  • Coverage gaps - features that used to live in removed samples and where they are exercised now.

Run it locally:

Terminal window
dotnet run -c Release --project samples/GameServer/Examples.GameServer.Server/Examples.GameServer.Server.csproj

Prefer a from-scratch build? Start with the Tutorials.