зеркало из
1
0
Форкнуть 0
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:
Divan van Zyl 2024-02-27 14:23:38 +02:00 коммит произвёл Ken Chen
Родитель edd82c97b8
Коммит 1441914de2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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();