Skip to content

Commit 5636796

Browse files
authored
fix (#1329)
Signed-off-by: Hannah Hunter <[email protected]>
1 parent 3768a98 commit 5636796

File tree

1 file changed

+2
-4
lines changed
  • daprdocs/content/en/dotnet-sdk-docs/dotnet-client

1 file changed

+2
-4
lines changed

daprdocs/content/en/dotnet-sdk-docs/dotnet-client/_index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Console.WriteLine("Returned: id:{0} | Balance:{1}", account.Id, account.Balance)
5656

5757
#### gRPC
5858
You can use the `DaprClient` to invoke your services over gRPC.
59-
{{% codetab %}}
59+
6060
```csharp
6161
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(20));
6262
var invoker = DaprClient.CreateInvocationInvoker(appId: myAppId, daprEndpoint: serviceEndpoint);
@@ -67,8 +67,6 @@ await client.MyMethodAsync(new Empty(), options);
6767

6868
Assert.Equal(StatusCode.DeadlineExceeded, ex.StatusCode);
6969
```
70-
{{% /codetab %}}
71-
7270

7371
- For a full guide on service invocation visit [How-To: Invoke a service]({{< ref howto-invoke-discover-services.md >}}).
7472

@@ -162,7 +160,7 @@ var secrets = await client.GetSecretAsync("mysecretstore", "key-value-pair-secre
162160
Console.WriteLine($"Got secret keys: {string.Join(", ", secrets.Keys)}");
163161
```
164162

165-
{{% / codetab %}}
163+
{{% /codetab %}}
166164

167165
{{% codetab %}}
168166

0 commit comments

Comments
 (0)