Using SignalR in your Blazor applications

preview_player
Показать описание
In this episode, David Pine joins Jeremy to show off this chat bot enabled demo that's powered by Blazor WASM and SignalR

[00:00] - Start
[01:09] - Why is SignalR and Blazor interesting together?
[05:00] - Blazing Chatter Demo
[11:54] - Blazing Chatter Demo Client
[24:10] - Check out the demo app

Demo Code
Introduction to ASP.NET Core Blazor
Getting Started with SignalR

Рекомендации по теме
Комментарии
Автор

Wow. Easily the most complete demo of anything I’ve seen. Really love the way all of it came together. Definitely checking out this code. Thank you, thank you, thank you.

williamnoel
Автор

Fantastic video! Exactly what I needed :D

MadeByGPS
Автор

Another use of signalr I have used in a Blazor application is updating progress bars and status on the client for a long running process the user started. Something like what TurboTax does as it analyzes your tax data and shows animations and progress as goes thru various steps.

toddschavey
Автор

+1. Something to try next time: show the demo app first...then the code walk thru...

toddschavey
Автор

But it's still chat. :) <3 the show guys! awesome stuff.

bradygaster
Автор

Exactly right, Blazor is a game-changer. 👍

erril
Автор

hey hoss, thank you for this demo and the github. Good stuff, hope to see you on the Community Standups (CS) more often. And, to all the various CS's, imho, part of why this episode rocks is also the lack of questions that interrupt the flow from the presenter's mind to my mind.

i understand the idea of being responsive to questions, but sometimes it's ridiculous: Recently watched a CS where the presenter had set up an hour's presentation and only got about 15 minutes of it done. And he prolly wasted 4 minutes of that 15 spinning his mind back up to where he was in order to continue. Me, i'm a dim bulb, could barely get back on his train of thought with him.

like i said, i understand the idea of being responsive to questions. but there's got to be a better way. I mean, in in-person presentations, questions are most often saved for the end right?

i most often watch ASP.NET CS, and i notice that often someone else in the chat will answer one's question, or Jon Galloway will answer it in the chat. However...

youtube and twitch aren't really the ideal forum for CS presentations imo. The "chat" is just a... stream of consciousness of the viewers right? Like, no organization, just a time-stamped stream. You guys are Microsoft, unlimited resources (compared to most of us), surely you could set up something specific for all these CS's you publish.

specifically, sure, have the chat stream, but have a separate questions stream too. You could get fancy then. Ideas off the top of my head: Questions could get upvoted, meaning a "good" question, i.e. a question a lot of people want to know the answer to, would bubble to the top. Another idea is that, for the questions that don't get answered during the live stream, you could automatically move them from the questions stream into the comments section (kinda like youtube both has "chat" and afterwards, "comments") after the stream so that others who watch it later can be given an opportunity to answer.

i could get way more into what i'd like to see, but this is already a way too long comment. Overall though, love the community standups!! You guys rock!! And, thank you for all these great presentations :)

mtranchi
Автор

Tried compiling the project from github. Doesn't see. To display anything after the loading screen

toxic-tuning
Автор

David, What is the guidance on using Azure Managed SignalR Service with Blazor Wasm, would there be any benefit of using it with Blazor WASM Hosted Project ?

naunihalsidhu
Автор

Wow.. great! Can I use for commercial purposes? :)

sharafudeen
Автор

Apparently the code at that github location is no longer good. There are features in the code not mentioned here (specifically TranslationService) which break the code. :( Other than that issue this seems cool.

danagle
Автор

Nice demo. But I don't get why this call is possible:

How can _hubConnection (and the compiler) know about interface IChatClient
and is that call equivalent to: