From 965b43116cd1cbdd39070869d96adfdf7914af7f Mon Sep 17 00:00:00 2001 From: David Pine Date: Tue, 22 Apr 2025 08:52:53 -0500 Subject: [PATCH] Update orleans.md (#3134) Add the missing contract/interface. --- docs/frameworks/orleans.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/frameworks/orleans.md b/docs/frameworks/orleans.md index d9916eed67..7921e0f685 100644 --- a/docs/frameworks/orleans.md +++ b/docs/frameworks/orleans.md @@ -124,6 +124,10 @@ The following code is a complete example of an Orleans server project, including :::code language="csharp" source="snippets/Orleans/OrleansServer/Program.cs" ::: +The `CounterGrain` is an implementation of the following `ICounterGrain` interface, which is defined in the shared _OrleansContracts_ project: + +:::code language="csharp" source="snippets/Orleans/OrleansContracts/ICounterGrain.cs" ::: + ## Create an Orleans client project In the Orleans client project, add the same NuGet packages: