Update README.md
The "AddAzureSignalR()" statement is incorrectly included here. If included, you will get an error: "Microsoft.Azure.SignalR.Common.AzureSignalRConfigurationNoEndpointException: 'No connection string was specified.'" The AddAzureSignalR() statement should only be added in the next part of the tutorial, when the project is deployed to Azure, and the appropriate package added: Microsoft.Azure.SignalR
This commit is contained in:
Родитель
edd82c97b8
Коммит
1441914de2
|
@ -52,7 +52,7 @@ Let's implement this feature step by step.
|
|||
|
||||
```cs
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Services.AddSignalR().AddAzureSignalR();
|
||||
builder.Services.AddSignalR();
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseRouting();
|
||||
|
|
Загрузка…
Ссылка в новой задаче