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.
@brirembillel19596 ай бұрын
Replace StateHasChanged() with InvokeAsync( StateHasChanged); 🥳
@josemanuellepe3492Ай бұрын
This is essentially what I needed to begin and I'm working around this to my project. You're awesome, man.
@abhishekjadhav928927 күн бұрын
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.
@joaogabrielv.m32810 ай бұрын
Happy 2024, Patrick :D
@FearGod12310 ай бұрын
Hi Patrick, Happy New Year! Thank you for this great video.
@GarethDoherty198510 ай бұрын
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.
@sergeylevitskiy461110 ай бұрын
Heyyy! Congratulations on double fartherhood😃
@PatrickGod10 ай бұрын
Thank you!! 😁
@MohdRizwan-pf3ex10 ай бұрын
Happy New Year
@missionyoungblood10 ай бұрын
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 🎯
@PatrickGod10 ай бұрын
Wow, thank you!
@teriyakov10 ай бұрын
Thanks so much for this Patrick. Exciting times ahead with signalr and Blazor!
@PatrickGod10 ай бұрын
You're most welcome!
@PaulPreu10 ай бұрын
Happy new Year!
@thotchs411610 ай бұрын
HAPPY NEW YEAR 2024 PATRICK 🎉🎉
@Tielc10 ай бұрын
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?
@PatrickGod10 ай бұрын
Absolutely. That's a perfect use case for web sockets (using SignalR, for instance).
@ArunKumarR-dp3yu5 ай бұрын
Hi Patrick, Can we use blazor interactive server for creating this chat application?
@gaborr524212 күн бұрын
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?
@maddevskilz17865 ай бұрын
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!
@Leonidn197210 ай бұрын
Thanks a lot. You are the best.
@PatrickGod10 ай бұрын
You are!
@zaidmohammed200110 ай бұрын
HAPPY NEW YEAR 2024 PATRICK , as always: great video and useful information and sure i reference for future apps! :D
@alexanderlagerqvist1779 ай бұрын
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?
@MrFEMGM10 ай бұрын
Thanks for the video. Is very clear
@adam-xt8te10 ай бұрын
Why there is @rendermode InteractiveWebAssembly at the top of component if we put the razor file inside Client project which is WA?
@jeancarlosreyesencarnacion10 ай бұрын
Can you make a video teaching how to use Blazor-State Package or Fluxor please...
@humayunarafat381010 ай бұрын
Thank you. Is there anything you can do with authentication enabled?
@alamshaikh435810 ай бұрын
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🙏🙏🙏🙏
@pavelpavlov424710 ай бұрын
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
@tidianediallo619910 ай бұрын
great!!!!!!!!!!!
@rockrock338197 ай бұрын
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??
@rockrock338197 ай бұрын
Also i am on a mac os and dont have access to visual studio
@faridmammadzada10 ай бұрын
hey, thanks. Great tutorial. Can you pls make a tutorial about debugging WebAssembly project too? thanks
@G3Number10 ай бұрын
Hi can you teach us how to learn YAML pipelines?
@silentwindstudio9 ай бұрын
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
@ChandrashekharDeore-p6e10 ай бұрын
Thanks so much for this Patrick. Please make one demo for implementing Fluxor in .net8 blazor with render mode set to an interactiveAuto.
@unkn0wnrge1897 ай бұрын
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.
@jameshancock10 ай бұрын
Better is strongly typed messaging using a shared class library with no magic strings.
@heikowerner584610 ай бұрын
nice ! ... Video.....
@lantisdylan10 ай бұрын
Sir do have a build project in .NET 8?
@encryptor67104 ай бұрын
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.....
@rezatayebi93857 ай бұрын
🙏
@PreBuddy10 ай бұрын
pls make tutorial for blazor server
@divanvanzyl754510 ай бұрын
Im sorry to say, I strongly dislike the new selfie video because it hides part of the solution explorer. Great content as always though!
@PatrickGod10 ай бұрын
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?😇
@divanvanzyl754510 ай бұрын
@@PatrickGod Yes, I don't mind it, as long as it does not hide any information. But it is not a benifit for me.
@valadares46210 ай бұрын
I disagree. I don't think it bothers anything. I always leave Solution Explorer hidden to free up more space on the screen.
@PatrickGod10 ай бұрын
@@valadares462 Great! Thanks for your feedback!
@karimsoultan49903 ай бұрын
Hi what do you mean by your name
@nick_stelmakh10 ай бұрын
each video as for kids. same and same and same. do you have real knowledge? i haven't seen any a deep video yet
@teriyakov10 ай бұрын
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
@valadares46210 ай бұрын
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_stelmakh10 ай бұрын
shame is that you say what i can do and what not. it’s my opinion base on facts.
@clebersondot-net7 ай бұрын
i've glad found this channel, thanks
@Sasa-sy9dh10 ай бұрын
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
@PatrickGod10 ай бұрын
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. ❤