You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-signalr/signalr-howto-use.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,15 @@ ms.author: lianwei
10
10
11
11
# Use Azure SignalR Service
12
12
13
-
## Provision an Azure SignalR Service instance
13
+
## Create an Azure SignalR Service instance
14
14
15
-
Follow [Quickstart: Use an ARM template to deploy Azure SignalR](./signalr-quickstart-azure-signalr-service-arm-template.md) to provision a SignalR service instance.
15
+
Follow [Quickstart: Use an ARM template to deploy Azure SignalR](./signalr-quickstart-azure-signalr-service-arm-template.md) to create a SignalR service instance.
16
16
17
17
## For ASP.NET Core SignalR
18
18
19
19
### 1. Install the SDK
20
20
21
-
Run below command to install SignalR Service SDK to your ASP.NET Core project.
21
+
Run the command to install SignalR Service SDK to your ASP.NET Core project.
22
22
23
23
```bash
24
24
dotnet add package Microsoft.Azure.SignalR
@@ -48,7 +48,7 @@ There are two approaches to configure SignalR Service's connection string in you
48
48
49
49
- Set an environment variable with name `Azure:SignalR:ConnectionString` or `Azure__SignalR__ConnectionString`.
50
50
- In Azure App Service, put it in application settings.
51
-
- Pass the connection string as a parameter of `AddAzureSignalR()` as below sample codes.
51
+
- Pass the connection string as a parameter of `AddAzureSignalR()`.
52
52
53
53
```csharp
54
54
services.AddSignalR()
@@ -69,17 +69,17 @@ There are a few [options](https://github.com/Azure/azure-signalr/blob/dev/src/Mi
69
69
#### `ConnectionString`
70
70
71
71
-Defaultvalueisthe `Azure:SignalR:ConnectionString` `connectionString` or `appSetting` in `web.config` file.
-ThisoptioncontrolsthemaxcountofconnectionsallowedperhubbetweenapplicationserverandAzureSignalRService. Duringruntime, theSDKmightstartnewserverconnectionsforperformancetuningorloadbalancing. Bydefaultanewserverconnectionstartswheneverneeded. Whenthemaxallowedserverconnectioncountisconfigured, theSDKdoesn't start new connections when server connection count reaches the limit.
83
83
84
84
#### `ApplicationName`
85
85
@@ -90,23 +90,23 @@ There are a few [options](https://github.com/Azure/azure-signalr/blob/dev/src/Mi
- When `ServerSentEvent` or `LongPolling` isusedastransport, clientconnectionwillbeclosedduetoauthenticationfailureaftertheexpiretime.
103
+
- When `ServerSentEvent` or `LongPolling` isusedastransport, clientconnectionwillbeclosedduetoauthenticationfailureaftertheexpiredtime.
104
104
Youcanincreasethisvaluetoavoidclientdisconnect.
105
105
106
106
#### `AccessTokenAlgorithm`
107
107
108
108
-Defaultvalueis `HS256`
109
-
- Thisoptionprovideschoiceof [`SecurityAlgorithms`](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/src/Microsoft.IdentityModel.Tokens/SecurityAlgorithms.cs) when generate access token. Now supported optional values are `HS256` and `HS512`. Please note `HS512` is more secure but the generated token will be comparatively longer than that using `HS256`.
109
+
- Thisoptionprovideschoiceof [`SecurityAlgorithms`](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/src/Microsoft.IdentityModel.Tokens/SecurityAlgorithms.cs) when generate access token. Now supported optional values are `HS256` and `HS512`. Note `HS512` is more secure but the generated token is comparatively longer than that using `HS256`.
0 commit comments