Skip to content

Commit 5d4e525

Browse files
Merge pull request #296085 from Y-Sindo/patch-4
Update signalr-howto-use-management-sdk.md
2 parents 55624d2 + c29f705 commit 5d4e525

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/azure-signalr/signalr-howto-use-management-sdk.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ Create your instance of `ServiceHubContext` from a `ServiceManager`:
9090
var serviceHubContext = await serviceManager.CreateHubContextAsync("<Your Hub Name>",cancellationToken);
9191
```
9292

93+
> [!NOTE]
94+
>
95+
> Creating `ServiceHubContext` is a rather expensive operation. It's recommended to reuse the same `ServiceHubContext` instance for the same hub.
96+
9397
### Negotiation
9498

9599
In [default mode](concept-service-mode.md#default-mode), an endpoint `/<Your Hub Name>/negotiate` is exposed for negotiation by Azure SignalR Service SDK. SignalR clients reach this endpoint and then redirect to Azure SignalR Service later.

0 commit comments

Comments
 (0)