Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DivanVanZyl authored and chenkennt committed Feb 28, 2024
1 parent edd82c9 commit 1441914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/ChatRoomLocal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1441914

Please sign in to comment.