Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conficient/blazorchatsample
A sample Blazor chat application using SignalR
https://github.com/conficient/blazorchatsample
blazor demo signalr-client
Last synced: 12 days ago
JSON representation
A sample Blazor chat application using SignalR
- Host: GitHub
- URL: https://github.com/conficient/blazorchatsample
- Owner: conficient
- Created: 2018-07-10T06:33:16.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-08-04T15:55:30.000Z (over 2 years ago)
- Last Synced: 2024-04-10T00:57:31.875Z (7 months ago)
- Topics: blazor, demo, signalr-client
- Language: C#
- Homepage:
- Size: 469 KB
- Stars: 235
- Watchers: 17
- Forks: 51
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazor - BlazorChatSample - ![stars](https://img.shields.io/github/stars/conficient/blazorchatsample?style=flat-square&cacheSeconds=604800) ![last commit](https://img.shields.io/github/last-commit/conficient/blazorchatsample?style=flat-square&cacheSeconds=86400) Blazor chat demo using SignalR JS client with interop. (Sample Projects / Others)
README
# Blazor Chat Sample
[![Build Status](https://dev.azure.com/conficient/BlazorChatSample/_apis/build/status/conficient.BlazorChatSample?branchName=master)](https://dev.azure.com/conficient/BlazorChatSample/_build/latest?definitionId=2&branchName=master)
> Now upgraded for [.NET 5 RTM](https://devblogs.microsoft.com/aspnet/announcing-asp-net-core-in-net-5/) - 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](https://www.asp.net/signalr)
to create a [Blazor](https://blazor.net/) chat application.### Now JavaScript-Free!
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](https://github.com/conficient/BlazorChatSample/tree/netcore-3.2.0-preview1)## .NET 6
Upgraded the demo to .NET 6.
## Demo
A demo application is available at https://blazorchatsample.azurewebsites.net
### Improvements & Suggestions
If you have any improvements or suggestions please submit as issues/pull requests on the Github repo.
### Acknowledgements
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.