Skip to content

Commit cbe75b4

Browse files
committed
fix the version difference
1 parent baf1e33 commit cbe75b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/azure-signalr/signalr-quickstart-dotnet-core.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ In this section, you'll add the [Secret Manager tool](https://docs.microsoft.com
8989
This secret is accessed with the Configuration API. A colon (:) works in the configuration name with the Configuration API on all supported platforms. See [Configuration by environment](https://docs.microsoft.com/aspnet/core/fundamentals/configuration/index?tabs=basicconfiguration&view=aspnetcore-2.0).
9090

9191

92-
4. Open *Startup.cs* and update the `ConfigureServices` method to use Azure SignalR Service by calling the `services.AddSignalR().AddAzureSignalR()` method for ASP.NET Core 2 only:
92+
4. Open *Startup.cs* and update the `ConfigureServices` method to use Azure SignalR Service by calling the `services.AddSignalR().AddAzureSignalR()` method:
9393

9494
```csharp
9595
public void ConfigureServices(IServiceCollection services)
@@ -98,7 +98,6 @@ In this section, you'll add the [Secret Manager tool](https://docs.microsoft.com
9898
services.AddSignalR().AddAzureSignalR();
9999
}
100100
```
101-
For ASP.NET Core 3+, there is no change needed for `ConfigureServices` method.
102101

103102
By not passing a parameter to `AddAzureSignalR()`, this code uses the default configuration key for the SignalR Service resource connection string. The default configuration key is *Azure:SignalR:ConnectionString*.
104103

0 commit comments

Comments
 (0)