Now upgraded for .NET 5 RTM - Please ensure you have the .NET 5 SDK loaded and VS 2019 v16.8 or later. One change since the release candidates is that the scoped CSS is now
AppName.styles.css
in place of the_framework/scoped.styles.css
This application demonstrates the use of SignalR to create a Blazor chat application.
The app now uses the Microsoft.AspNetCore.SignalR.Client
library which is now compatible with the Mono WASM runtime. This really simplifies the
ChatClient
code.
Previously this sample used JavaScript SignalR client. If you want to see how the JavaScript client version worked, I've retained it in this branch
@Turochamp has kindly provided an upgrade to .NET 5, which now uses CSS isolation for the app, navbar etc.
A demo application is available at https://blazorchatsample.azurewebsites.net
If you have any improvements or suggestions please submit as issues/pull requests on the Github repo.
Many thanks to Turochamp who did the upgrade to .NET 5 RC1!
Thanks to Code-Boxx for the article https://code-boxx.com/responsive-css-speech-bubbles/ that helped me create simple CSS speech bubbles that improve the layout.