Build a Chat with SignalR & Blazor WebAssembly in .NET 8 🚀

  Рет қаралды 13,404

Patrick God

Patrick God

Күн бұрын

Пікірлер: 64
@josemanuellepe3492
@josemanuellepe3492 3 ай бұрын
This is essentially what I needed to begin and I'm working around this to my project. You're awesome, man.
@FearGod123
@FearGod123 Жыл бұрын
Hi Patrick, Happy New Year! Thank you for this great video.
@CyprianLibera
@CyprianLibera Жыл бұрын
First time I ran this project I got an error at line 23 (StateHasChanged();) of Chat.razor, "The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state. " Found that changing to InvokeAsync(StateHasChanged); fixed this.
@brirembillel1959
@brirembillel1959 8 ай бұрын
Replace StateHasChanged() with InvokeAsync( StateHasChanged); 🥳
@joaogabrielv.m328
@joaogabrielv.m328 Жыл бұрын
Happy 2024, Patrick :D
@sergeylevitskiy4611
@sergeylevitskiy4611 Жыл бұрын
Heyyy! Congratulations on double fartherhood😃
@PatrickGod
@PatrickGod Жыл бұрын
Thank you!! 😁
@teriyakov
@teriyakov Жыл бұрын
Thanks so much for this Patrick. Exciting times ahead with signalr and Blazor!
@PatrickGod
@PatrickGod Жыл бұрын
You're most welcome!
@Klinicleview
@Klinicleview Жыл бұрын
Thank you patrick, been watching your videos for a while now and can say you are one of the best orators conveying C# to us newbies 🎯
@PatrickGod
@PatrickGod Жыл бұрын
Wow, thank you!
@silenttoji
@silenttoji Жыл бұрын
Happy new Year!
@zaidmohammed2001
@zaidmohammed2001 Жыл бұрын
HAPPY NEW YEAR 2024 PATRICK , as always: great video and useful information and sure i reference for future apps! :D
@thotchs4116
@thotchs4116 Жыл бұрын
HAPPY NEW YEAR 2024 PATRICK 🎉🎉
@abhishekjadhav9289
@abhishekjadhav9289 3 ай бұрын
Excellent tutorial. I wish Udemy, Pluralsight and linkedin learning would have such tutorial for SignalR which currently does not have a quality course on this topic.
@MohdRizwan-pf3ex
@MohdRizwan-pf3ex Жыл бұрын
Happy New Year
@GarethDoherty1985
@GarethDoherty1985 Жыл бұрын
I love SignalR in Blazor. I have an app where users can kick off a data sync on the server which happens in the background when that user presses a button on the client, and I use SignalR to not only notify all other connected users that the sync has started, but also use to tell the code on the clients to disable the button which would allow them to start another data sync. Then when the sync is completed on the server, it sends another message to all connected clients that its finished, they get a nice pop up, and that button is re-enabled again. The tricky parts for me is that this is an Authenticated App, so when creating the SignalR Hub Connection, I have to do it with an auth token from my client. Then dealing with disconnects and reconnects can get tricky too to make it seamless for the end user.
@ArunKumarR-dp3yu
@ArunKumarR-dp3yu 7 ай бұрын
Hi Patrick, Can we use blazor interactive server for creating this chat application?
@Tielc
@Tielc Жыл бұрын
This was great! I'm assuming I could use this as a trigger to tell my app to refresh it's data from a connection as well so that if a user changed something, all connected clients could see those values update in real time?
@PatrickGod
@PatrickGod Жыл бұрын
Absolutely. That's a perfect use case for web sockets (using SignalR, for instance).
@Leonidn1972
@Leonidn1972 Жыл бұрын
Thanks a lot. You are the best.
@PatrickGod
@PatrickGod Жыл бұрын
You are!
@OracoloWeb
@OracoloWeb 10 күн бұрын
Hello Patrick. thank you for the video. I tried to write the solution. I have an issue with the "receive". The binding with "userInpu" and "messageInput" is ok, I had a check in debugger, hubConnection.SendAsync get the values that I inserted in the textbox but I have no values in .. Can I do some other check?
@MrFEMGM
@MrFEMGM Жыл бұрын
Thanks for the video. Is very clear
@gaborr5242
@gaborr5242 2 ай бұрын
Hello Patrick, first of all thank you very much for this video. I have an issue regarding on the DOTNET.js file, the browser cannot reach the file (error code is 404). Do have any Idea?
@alamshaikh4358
@alamshaikh4358 Жыл бұрын
Hii I have no idea about blazor web assembly could you share me playlist from your channel where I can learn blazor from scratch. please🙏🙏🙏🙏
@adam-xt8te
@adam-xt8te Жыл бұрын
Why there is @rendermode InteractiveWebAssembly at the top of component if we put the razor file inside Client project which is WA?
@mha3810
@mha3810 Жыл бұрын
Thank you. Is there anything you can do with authentication enabled?
@maddevskilz1786
@maddevskilz1786 7 ай бұрын
Dangit, I accidentally commented on your old video from .net 6. I suggested you make something besides "chat" because its been done to death. How about some apps - could be any kind of apps that can communicate via signalr to trigger actions between them, and the trigger to start them could be in the web app. So in the web app, I click a button and it triggers an action on a remotely connected command line app. This would be highly useful!
@alexanderlagerqvist177
@alexanderlagerqvist177 11 ай бұрын
I'm trying to understand if SignalR is a good use case for the app that im currently trying to improve. I have a webpage of a map that renders a bunch markers/icons based on coordinates I get from an API that constantly changes since its live positions of vehichles. I want the application to be able to render the changes in coordinates more smoothly. Currently I'm just polling/setting interval every 1 second to fetch the coordinates from the API but this seems very ineffective and its quite performance draining and also very buggy. How can i use signalR or other suggested feature to listen to the changes from the API?
@faridmammadzada
@faridmammadzada Жыл бұрын
hey, thanks. Great tutorial. Can you pls make a tutorial about debugging WebAssembly project too? thanks
@jeancarlosreyesencarnacion
@jeancarlosreyesencarnacion Жыл бұрын
Can you make a video teaching how to use Blazor-State Package or Fluxor please...
@pavelpavlov4247
@pavelpavlov4247 Жыл бұрын
I have been trying to use Azure B2C to allow customers to create accounts and reset passwords on their own, but I was able to do that. I was wondering if you can demonstrate how can the B2C authentication with user flows be used with the new rendering modes in latest Blazor for .NET8
@tidianediallo6199
@tidianediallo6199 Жыл бұрын
great!!!!!!!!!!!
@rockrock33819
@rockrock33819 9 ай бұрын
I am on Rider and only have option to build blazor project : web app and webassembly standalone application. None of them produce a Blazor and Blazor.Client project structure. Any help??
@rockrock33819
@rockrock33819 9 ай бұрын
Also i am on a mac os and dont have access to visual studio
@G3Number
@G3Number Жыл бұрын
Hi can you teach us how to learn YAML pipelines?
@ChandrashekharDeore-p6e
@ChandrashekharDeore-p6e Жыл бұрын
Thanks so much for this Patrick. Please make one demo for implementing Fluxor in .net8 blazor with render mode set to an interactiveAuto.
@heikowerner5846
@heikowerner5846 Жыл бұрын
nice ! ... Video.....
@unkn0wnrge189
@unkn0wnrge189 9 ай бұрын
have work a lot with nats package in dart. then I realized all that bs it's web sockets since signalR same bs. Thanks master for enlightme to stop going crazy in learning the same things 100x.
@silentwindstudio
@silentwindstudio Жыл бұрын
I was loving it, until I opened Task Manager and noticed that it uses Node in the background. In the moment I blocked js in the browser, nothing works lol
@jameshancock
@jameshancock Жыл бұрын
Better is strongly typed messaging using a shared class library with no magic strings.
@divanvanzyl7545
@divanvanzyl7545 Жыл бұрын
Im sorry to say, I strongly dislike the new selfie video because it hides part of the solution explorer. Great content as always though!
@PatrickGod
@PatrickGod Жыл бұрын
Fair enough! Thanks for the feedback. I'll make sure nothing will be hidden next week! Hope then it's okay? Maybe even better then no face bubble?😇
@divanvanzyl7545
@divanvanzyl7545 Жыл бұрын
@@PatrickGod Yes, I don't mind it, as long as it does not hide any information. But it is not a benifit for me.
@valadares462
@valadares462 Жыл бұрын
I disagree. I don't think it bothers anything. I always leave Solution Explorer hidden to free up more space on the screen.
@PatrickGod
@PatrickGod Жыл бұрын
@@valadares462 Great! Thanks for your feedback!
@lantisdylan
@lantisdylan Жыл бұрын
Sir do have a build project in .NET 8?
@PreBuddy
@PreBuddy Жыл бұрын
pls make tutorial for blazor server
@clebersondot-net
@clebersondot-net 9 ай бұрын
i've glad found this channel, thanks
@rezatayebi9385
@rezatayebi9385 9 ай бұрын
🙏
@encryptor6710
@encryptor6710 6 ай бұрын
It would a lot better if your video wasnt covering the bottom right side of the screen. I missed a few things because you wanted us to see YOU and not the IDE for some reason.....
@karimsoultan4990
@karimsoultan4990 5 ай бұрын
Hi what do you mean by your name
@nick_stelmakh
@nick_stelmakh Жыл бұрын
each video as for kids. same and same and same. do you have real knowledge? i haven't seen any a deep video yet
@teriyakov
@teriyakov Жыл бұрын
Use that energy to create your own videos if you feel these aren't sufficiently in-depth. I personally find it very useful. It doesn't 100% cover my use case but it's a great starting point and I'm looking forward to learning more by trial and error and other sources too. I would expect any developer/learner to do the same
@valadares462
@valadares462 Жыл бұрын
It's a shame to have people like you. Who hasn't moved an inch to help the community, and comes here to be negative with one of the guys who has contributed the most to the Blazor community so far. Shame.
@nick_stelmakh
@nick_stelmakh Жыл бұрын
shame is that you say what i can do and what not. it’s my opinion base on facts.
@Sasa-sy9dh
@Sasa-sy9dh Жыл бұрын
Hey Patrick schon mal überlegt deutsche videos zu machen. Es gibt kaum jemanden im deutschsprachigen raum der so interessant .net Content und aktuell macht wie du
@PatrickGod
@PatrickGod Жыл бұрын
Das weiß ich sehr zu schätzen. Danke dir vielmals! Ich denk drüber nach, aber die Zeit ist wirklich knapp. Ich hoffe die englischen Videos sind auch ausreichend verständlich. ❤
@ivandrofly
@ivandrofly 2 ай бұрын
Statehaschangeg
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Offline Storage in Blazor WebAssembly
40:59
IAmTimCorey
Рет қаралды 7 М.
SwiftUI Beginner Tutorial | Learn The Basics
41:12
Blossom Build
Рет қаралды 272
Blazor WebAssembly vs Blazor Web App - Which Is Best?
7:56
AWS Developers
Рет қаралды 6 М.
Blazor WebAssembly ASP.NET Core Hosted in .NET 8 🔥
15:37
Patrick God
Рет қаралды 24 М.
Authorization using Roles with Blazor & Identity in .NET 8 🔐
17:45
Is Swagger REALLY Gone in .NET 9?
7:17
Patrick God
Рет қаралды 6 М.
Learn Blazor: Build an Inventory Management System in .NET 8
2:17:34