Skip to content

Commit d52bdd8

Browse files
committed
update hub name in README
1 parent 7f846a2 commit d52bdd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/BlazorChat/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
4141

4242
namespace BlazorChat
4343
{
44-
public class ChatHub : Hub
44+
public class BlazorChatSampleHub : Hub
4545
{
4646
public const string HubUrl = "/chat";
4747

@@ -72,7 +72,7 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
7272
{
7373
endpoints.MapBlazorHub();
7474
endpoints.MapFallbackToPage("/_Host");
75-
endpoints.MapHub<ChatHub>(ChatHub.HubUrl);
75+
endpoints.MapHub<BlazorChatSampleHub>(BlazorChatSampleHub.HubUrl);
7676
});
7777
```
7878

@@ -131,7 +131,7 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
131131
// Create the chat client
132132
string baseUrl = navigationManager.BaseUri;
133133
134-
_hubUrl = baseUrl.TrimEnd('/') + ChatHub.HubUrl;
134+
_hubUrl = baseUrl.TrimEnd('/') + BlazorChatSampleHub.HubUrl;
135135
136136
_hubConnection = new HubConnectionBuilder()
137137
.WithUrl(_hubUrl)

0 commit comments

Comments
 (0)