• Stars
    star
    222
  • Rank 179,123 (Top 4 %)
  • Language
    C#
  • Created over 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A sample Blazor chat application using SignalR

Blazor Chat Sample

Build Status

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.

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

.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.

More Repositories

1

BlazorTemplater

A library that generates HTML (e.g. for emails) from Razor Components
C#
127
star
2

BlazorDynamicList

Demonstrates dynamic component binding for a generic list
C#
51
star
3

BlazorDynamicScriptLoad

Demonstrate dynamic loading of a JavaScript library in Blazor
HTML
17
star
4

versionReaderTask

Azure Pipelines build task to read Version tag(s) from project files
JavaScript
7
star
5

RazorTemplateClassLibrary

Demonstrates amendments to C# class library to enable IDE support for Razor templates.
C#
6
star
6

ftpclient

Implements a high-level FTP client library using the System.NET.FTPrequest library in the .NET Framework 2.0 and above
Visual Basic
6
star
7

RequireJS-Knockout-TypeScript

Sample web app using Knockout Components, with TypeScript and RequireJS
JavaScript
4
star
8

BlazorValidationLocalization

Demonstrates localisation (sic!) or localization of validation messages for Blazor forms
HTML
3
star
9

BlazorFormLayout

Helper components for rendering form content in Blazor using Bootstrap v4
HTML
3
star
10

BlazorICalendar

A Blazor ICalendar control
HTML
2
star
11

RefreshSpike

Demonstrates updating Blazor from events in an injected service, rather than polling using timers.
HTML
2
star
12

DevOpsNugetClient

Simple library for querying Nuget packages on DevOps secure feeds
C#
2
star
13

BlazorServerWithSignalR

A server-side "SignalR" example, that doesn't use SignalR!
HTML
2
star
14

NorthwindBlazor

Experiment Blazor app using Northwind as the database
C#
2
star
15

BlazorMvcExample

Experiment to see how to make MVC and Blazor co-exist
C#
1
star
16

Blazor_Angular_React

Sample app comparing Blazor, React and Angular
C#
1
star
17

BlazorServerClientIP

Demonstrates way to obtain client IP address for Blazor Server
HTML
1
star
18

TableauSample

Test project running Tableau in Blazor
HTML
1
star
19

FrankFurter

An exchange rate library using the ECB Frankfurter API
C#
1
star