You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/BlazorChat/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,7 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
259
259
```
260
260
261
261
6. Update `NavMenu.razor` to insert a entry menu for the chat room under `NavMenuCssClass` like rest.
262
+
262
263
```razor
263
264
<li class="nav-item px-3">
264
265
<NavLink class="nav-link" href="chatroom">
@@ -267,7 +268,7 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
267
268
</li>
268
269
```
269
270
270
-
7. Update `site.css` to optimize for chart area bubble views.
271
+
7. Update `site.css` to optimize for chart area bubble views. Append below code in the end.
271
272
272
273
```css
273
274
/* improved for chat text box */
@@ -335,11 +336,11 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
335
336
}
336
337
```
337
338
338
-
1. Click `F5` to run the app. You'll be able to chat like below.
339
+
8. Click `F5` to run the app. You'll be able to chat like below.
339
340
340
341

341
342
342
-
## Publish to Azure App Service and migration to Azure SignalR Service
343
+
## Publish to Azure App Service and migrate to Azure SignalR Service
343
344
344
345
So far, the Blazor App is working on local SignalR and when deploy to Azure App Service, it's suggested to use [Azure SignalR Service](https://docs.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-3.1#azure-signalr-service) which allows for scaling up a Blazor Server app to a large number of concurrent SignalR connections. In addition, the SignalR service's global reach and high-performance data centers significantly aid in reducing latency due to geography.
345
346
@@ -412,6 +413,7 @@ From Visual Studio 2019 version 16.2.0, Azure SignalR Service is build-in web ap
0 commit comments