.NET 6 Blazor 🔥 Chat with SignalR using WebSockets

  Рет қаралды 36,088

Patrick God

Patrick God

Күн бұрын

Пікірлер: 51
@saadbilal9519
@saadbilal9519 2 жыл бұрын
Great video. Can you make another more in-depth video on SignalR with authorization implemented? In this way you can send messages to a particular client. It would be great if you could implement the group feature as well. Thanks
@oveskhan687
@oveskhan687 Жыл бұрын
This is amazing, Please also create video on how to debug Blazor app and WebAPI
@MarcusRedmann
@MarcusRedmann 2 жыл бұрын
Great Tutorial. Now i can start my own work with SignalR
@PatrickGod
@PatrickGod 2 жыл бұрын
Go for it! Happy to help. 😊
@labebe2197
@labebe2197 2 жыл бұрын
Great video Patrick! Thank you so much!
@mzriryh
@mzriryh Жыл бұрын
Excellent. you are a very very good teacher, excellent one. I really enjoyed.
@carlgoran6602
@carlgoran6602 Жыл бұрын
Thanks!
@PatrickGod
@PatrickGod Жыл бұрын
Thank you so much for the $5 Super Thanks! Your support is greatly appreciated and it helps keep the channel running. I'm glad you found the content helpful! If you have any questions or topics you'd like to see covered, feel free to let me know. Happy coding! 😊👩‍💻👨‍💻
@muralikrishnachowdarypolin5601
@muralikrishnachowdarypolin5601 2 жыл бұрын
Good video we looking forward to more videos on signalR 👍
@PatrickGod
@PatrickGod 2 жыл бұрын
Alright! Thanks for your feedback! 😊
@muralikrishnachowdarypolin5601
@muralikrishnachowdarypolin5601 2 жыл бұрын
Hi how to send messages to single user we just mentioned user ID in hub class or we can do anything in client side if u have any tutorials or any blog please refer to me
@nove1398
@nove1398 2 жыл бұрын
Great starting point for signalr👍
@PatrickGod
@PatrickGod 2 жыл бұрын
Thank you! 😊
@jonasgranlund4427
@jonasgranlund4427 2 жыл бұрын
Hi Patrick, a few years ago I made a Line of business app for an insurance company in Sweden where I used SignalR together with knockoutJs to disable buttons for saving while one of the workers already had started with the claims process. It would be very nice and useful to see something similar with Blazor, where a clickevent "Start to process customer" or something will make it so everyone else that open that customer will have that button disabled until the "Save changes" button is clicked by the first user. :) I like this pro active way of not letting users overwrite their individual data changes, compared to Optimistic concurrency failure when the second change arrive towards db with wrong eTag (CosmosDb). An alterative way would be to push the changes from first user, towards all users that have the same object in their browser so it pushes changes but I don't like that solution as much. :)
@PatrickGod
@PatrickGod 2 жыл бұрын
Hey Jonas, Interesting! Maybe I could build a small EditForm with Blazor and add two users using this form to a SignalR Hub and disable the button for the user that opened the form second? Or I display a list of entries (superheroes, for instance😅) and disable the "edit" button as soon as another user is currently on the edit form of this entry. Maybe that would work. How would you call such a tutorial? Can't think of a great title for now. 😉 Thanks for sharing! Take care, Patrick
@jonasgranlund4427
@jonasgranlund4427 2 жыл бұрын
@@PatrickGod Hey Patrick, either of your suggestions would be absolutely awesome. Good question regarding name, functionality wise it is locking form for concurrent edit, but a good name for a tutorial I'm not sure of :( , but the functionality is very nice, especially in a distributed system where there is eventual consistency and 2 different users can overwrite each others changes in worst case.
@fadidib8516
@fadidib8516 2 жыл бұрын
what luck i wanted to search for videos about web assembly using signalR. thanks alot!
@PatrickGod
@PatrickGod 2 жыл бұрын
Glad I could help! Thanks for your feedback. 😊
@enmingwang6332
@enmingwang6332 Жыл бұрын
Nice, great tutorial!👍
@PatrickGod
@PatrickGod Жыл бұрын
Thank you! Cheers!
@Saveaaa
@Saveaaa 2 жыл бұрын
thanks for the example. is it possible to notify clients about new data using minimal api?
@PatrickGod
@PatrickGod 2 жыл бұрын
Hey there! As far as I know, SignalR (WebSockets) and a Minimal API are two different concepts. If you would want to use a Minimal API project, you can totally do so and also add a SignalR Hub to inform all the connected clients about new data. And then you could either send the new data via WebSockets to the clients or they would have to click on a refresh button, for instance, to get the new data. Hope this helps! Take care, Patrick
@furious385
@furious385 Жыл бұрын
Cool Content I like it .
@jonathanloth9128
@jonathanloth9128 2 жыл бұрын
Great!!! Best regards from Brasil
@PatrickGod
@PatrickGod 2 жыл бұрын
Thank you so much! 😊
@muralikrishnachowdarypolin5601
@muralikrishnachowdarypolin5601 2 жыл бұрын
hi please provide any documentation about sending real time messages to user to user i refer so many documents but all are shown same examples like clients.all.send if suppose I tried clients.User(userid).send but how to implement for client to catch single user messages
@DanielTames
@DanielTames 2 жыл бұрын
Excelent video man! I really appreciate all your work!
@PatrickGod
@PatrickGod 2 жыл бұрын
Thank you so much! 😊
@rivaldovola9896
@rivaldovola9896 2 жыл бұрын
love you videos. how about a blazor push nofication app?
@PatrickGod
@PatrickGod 2 жыл бұрын
Thank you! Great idea! Added it to my bucket list. 😊
@ricksanchez207
@ricksanchez207 Жыл бұрын
how does running the server, that executes the program.cs on that project, actually loads the client application and renders the blazor wasm? sorry im confused :D Great Vid BTW!
@Phantom1037
@Phantom1037 2 жыл бұрын
Great tutorial! Thank you!!
@PatrickGod
@PatrickGod 2 жыл бұрын
Glad I could help. Thanks a lot for your feedback! 😊
@moshiurshohel
@moshiurshohel 2 жыл бұрын
Great!!❤
@PatrickGod
@PatrickGod 2 жыл бұрын
Thank you very much! 😊
@hastifallah73
@hastifallah73 2 жыл бұрын
Thanksss😍
@PatrickGod
@PatrickGod 2 жыл бұрын
Glad I could help! Thanks for your feedback! 😊
@efexzium
@efexzium 2 жыл бұрын
Can Blazor web assembly have a signal IR hub and communicate to other clients running the app so it’s decentralized?
@exception_
@exception_ 2 жыл бұрын
Hello, can you tell me to develop a messenger like a telegram, it's better to use SignalR or regular web sockets?
@JamesHarcourt
@JamesHarcourt 2 жыл бұрын
Good video. Dankeshoen Bitteshoen.
@張玉書-v7n
@張玉書-v7n 2 жыл бұрын
nice
@rivaldovola9896
@rivaldovola9896 2 жыл бұрын
Hey Pat!! how are you? Question i'm want to build a email api service. where a app sends the body, to, from ect info to the mail api and sends the mail. now where i'm having issues is: I want to send a JWT token to make sure the user is authorized to send a mail. lets say I have the token how can I authorize the user? there should be a authentication header to send via httpclient but it doesnt seem to work or i'm not doing it right. idk if ur willing to help i'm just shooting my shot here lol. BTW fan from Suriname, South America
@PatrickGod
@PatrickGod 2 жыл бұрын
Hey Rivaldo, Thanks, I'm great! How are you? 😉Maybe my "JSON Web Tokens" (kzbin.info/www/bejne/rGjUZKN7gJZ4d5I) and ".NET 6 Authorization" (kzbin.info/www/bejne/inW8kHeqiaqem9U) video is something for you among others. Hope this helps! Take care, Patrick
@陈志成-y1w
@陈志成-y1w Жыл бұрын
HubConnection StartAsync() not useful in pattern(error 405), url maybe what to modification
@陈志成-y1w
@陈志成-y1w Жыл бұрын
Http is ok but https is defeated
@souravsingha3340
@souravsingha3340 2 жыл бұрын
Build chat with database and identity framework.
@comroec
@comroec 2 жыл бұрын
how to do a private chat? pls
@PatrickGod
@PatrickGod 2 жыл бұрын
Please checkout "Groups" for that. This is the best way to open private chat rooms.
@unkn0wnrge189
@unkn0wnrge189 2 жыл бұрын
I thought God was your nickname since you say jesus all the time, but I see your mom gave u birthname god, amazing, at least in name you are in heavens.
@JakubSK
@JakubSK 2 жыл бұрын
Dude you’re the only person using Blazor😂
@StandStillRushing
@StandStillRushing 2 жыл бұрын
Re-visit this comment in 5 years. Blazor is going to take over and be the most widely used app development framework, I promise. =]
This Game Is Wild...
00:19
MrBeast
Рет қаралды 160 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 27 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,5 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 94 МЛН
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 104 М.
Building Real-Time Applications With SignalR & .NET 7
12:22
Milan Jovanović
Рет қаралды 95 М.
Realtime chatroom app with signal r, html, css and javascript
1:43:40
Ravindra Devrani
Рет қаралды 7 М.
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 94 М.
Real-Time Notifications Using Blazor and SignalR from scratch
19:43
Milan Jovanović
Рет қаралды 38 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 258 М.
Is Asp.NET Core Better than Node.js
13:35
Gavin Lon
Рет қаралды 9 М.
This Game Is Wild...
00:19
MrBeast
Рет қаралды 160 МЛН