Skip to content

Commit 46dc0e1

Browse files
committed
update
1 parent 585acff commit 46dc0e1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/azure-signalr/signalr-concept-disaster-recovery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ You can configure multiple primary or secondary instances. If there are multiple
9898
:::zone-end
9999
:::zone pivot="serverless-mode"
100100

101-
### For SignalR Functions extensions
101+
### For Azure Functions SignalR bindings
102102

103103
To enable multiple SignalR Service instances, you should:
104104

@@ -117,7 +117,7 @@ To enable multiple SignalR Service instances, you should:
117117

118118
2. Configure multiple SignalR Service endpoints entries in your configuration.
119119

120-
We use a [`ServiceEndpoint`](https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.Common/Endpoints/ServiceEndpoint.cs) object to represent a SignalR Service instance. You can define an service endpoint with its `<EndpointName>` and `<EndpointType>` in the entry key, and the connection string in the entry value. The keys are in the following format :
120+
We use a [`ServiceEndpoint`](https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.Common/Endpoints/ServiceEndpoint.cs) object to represent a SignalR Service instance. You can define a service endpoint with its `<EndpointName>` and `<EndpointType>` in the entry key, and the connection string in the entry value. The keys are in the following format :
121121
122122
```
123123
Azure:SignalR:Endpoints:<EndpointName>:<EndpointType>

articles/azure-signalr/signalr-howto-scale-multi-instances.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ To enable multiple SignalR Service instances, you should:
277277

278278
2. Configure multiple SignalR Service endpoints entries in your configuration.
279279

280-
We use a [`ServiceEndpoint`](https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.Common/Endpoints/ServiceEndpoint.cs) object to represent a SignalR Service instance. You can define an service endpoint with its `<EndpointName>` and `<EndpointType>` in the entry key, and the connection string in the entry value. The keys are in the following format :
280+
We use a [`ServiceEndpoint`](https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.Common/Endpoints/ServiceEndpoint.cs) object to represent a SignalR Service instance. You can define a service endpoint with its `<EndpointName>` and `<EndpointType>` in the entry key, and the connection string in the entry value. The keys are in the following format:
281281

282282
```
283283
Azure:SignalR:Endpoints:<EndpointName>:<EndpointType>
@@ -313,9 +313,9 @@ By default, the functions binding uses the [DefaultEndpointRouter](https://githu
313313
##### C# in-process model
314314

315315
Here are the steps:
316-
* Implement a customized router. You can leverage information provided from [`ServiceEndpoint`](https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.Common/Endpoints/ServiceEndpoint.cs) to make routing decision. See guide here: [customize-route-algorithm](https://github.com/Azure/azure-signalr/blob/dev/docs/sharding.md#customize-route-algorithm). **Please note that Http trigger is required in the negotiation function when you need `HttpContext` in custom negotiation method.**
316+
1. Implement a customized router. You can leverage information provided from [`ServiceEndpoint`](https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.Common/Endpoints/ServiceEndpoint.cs) to make routing decision. See guide here: [customize-route-algorithm](https://github.com/Azure/azure-signalr/blob/dev/docs/sharding.md#customize-route-algorithm). **Please note that Http trigger is required in the negotiation function when you need `HttpContext` in custom negotiation method.**
317317

318-
* Register the router to DI container.
318+
1. Register the router to DI container.
319319
```cs
320320
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
321321
using Microsoft.Azure.SignalR;
@@ -339,7 +339,7 @@ namespace SimpleChatV3
339339
For functions running on isolated-process model, we support specifying target endpoints in each request. You will use new binding types to get endpoint information.
340340

341341
###### Client routing
342-
The `SignalRConnectionInfo` binding selects one endpoint according the default routing rule. If you want to customize routing rule, you should use `SignalRNegotiation` binding instead of `SignalRConnectionInfo` binding.
342+
The `SignalRConnectionInfo` binding selects one endpoint according to the default routing rule. If you want to customize routing rule, you should use `SignalRNegotiation` binding instead of `SignalRConnectionInfo` binding.
343343

344344
`SignalRNegotiation` binding configuration properties are the same as `SignalRConnectionInfo`. Here's a `function.json` file sample:
345345
```json
@@ -468,11 +468,11 @@ By default, the SDK uses the [DefaultEndpointRouter](https://github.com/Azure/az
468468

469469
#### Default behavior
470470

471-
1. Client request routing:
471+
* Client request routing:
472472

473473
When client `/negotiate` with the app server. By default, SDK **randomly selects** one endpoint from the set of available service endpoints.
474474

475-
2. Server message routing:
475+
* Server message routing:
476476

477477
When sending a message to a specific *connection* and the target connection is routed to the current server, the message goes directly to that connected endpoint. Otherwise, the messages are broadcasted to every Azure SignalR endpoint.
478478

@@ -569,4 +569,4 @@ When no `primary` endpoint is available, the client's `/negotiate` picks from th
569569
You can use multiple endpoints in high availability and disaster recovery scenarios.
570570

571571
> [!div class="nextstepaction"]
572-
> [Setup SignalR Service for disaster recovery and high availability](./signalr-concept-disaster-recovery.md)
572+
> [Set up SignalR Service for disaster recovery and high availability](./signalr-concept-disaster-recovery.md)

0 commit comments

Comments
 (0)