Integrate ManagedCode.Orleans.Graph into an Orleans-based .NET application for grain-call policy enforcement, deadlock detection, live-call telemetry, and Mermaid graph…
Microsoft Orleans
Design Microsoft Orleans systems from each primitive's purpose and failure model. USE FOR: grains, digital twins, state versus databases, transactions, messaging, streams, timers, reminders, Durable Jobs, stateless workers, grain services, startup, and hosting. DO NOT USE FOR: other actor stacks, batches, relational-only CRUD, or advice without an Orleans decision. INVOKES: inspect version and topology, choose the primitive, implement, and validate.
Workflow
- Inspect the solution, Orleans version, hosting topology, grain interfaces, providers, and tests.
- Identify domain identities and invariants. Prefer many independent, bounded entities over global coordinator grains.
- Choose state, communication, and time-based work from the tables below.
- Keep default non-reentrant scheduling and placement until a measured requirement justifies a change.
- Configure providers independently and test the failure model the design depends on.
Load References
- references/official-docs-index.md — official documentation map
- references/scheduling-and-services.md — scheduled/background/runtime work
- references/grains.md and references/grain-api.md — grain design and APIs
- references/persistence-api.md — state, databases, Journaling, event sourcing, transactions
- references/streaming-api.md — streams, broadcast, observers, response streams
- references/serialization-api.md — serialization and versioning
- references/hosting.md and references/configuration-api.md — hosting, providers, operations
- references/implementation.md and references/testing-patterns.md — runtime and tests
- references/patterns.md, references/anti-patterns.md, and references/examples.md — patterns and samples
Related skills
Use ManagedCode.Orleans.SignalR when a distributed .NET application needs Orleans-based coordination of SignalR real-time messaging, hub delivery, and grain-driven push flows.
Related agents
.NET Aspire Orchestrator
Specialist orchestration agent for .NET Aspire work.
Also works: dotnet agents install aspire-orchestrator
Orleans Specialist
Orleans specialist agent for purpose-first grain design, state versus database ownership, timers, reminders, Durable Jobs, stateless workers…
Also works: dotnet agents install orleans-specialist