SignalR Broadcast Send Message from Api Server to Multiple Clients .Net6 Blazor Server

  Рет қаралды 22,070

Coding Jackpot

Coding Jackpot

Күн бұрын

Пікірлер: 34
@solesolver5740
@solesolver5740 2 жыл бұрын
You are not using BroadcastMessage or BroadcastEmployee from signalrhub, and directly calling sendAsync in controller to message all clients
@NoOne-po1oe
@NoOne-po1oe Жыл бұрын
I was wondering too. Do we supposed to used it?
@kalaiArasu-j5i
@kalaiArasu-j5i Жыл бұрын
Hi, how to send notification to particular user?
@tecnologiaeinformacionmoyb2723
@tecnologiaeinformacionmoyb2723 7 ай бұрын
Hola ya habia visto en un blog de MS como inyectar el heredado del Hub como contexto pero para un objeto que generaba mensajes cada cierto tiempo , ahora tu explicación me deja mas claro su uso, y cómo lo usas para el servicio de Api Rest bien explicado, saludos desde México
@bankniftydailylevel2119
@bankniftydailylevel2119 Жыл бұрын
how can we implement using azure signalr
@arkadiuszmikulec5241
@arkadiuszmikulec5241 Жыл бұрын
Hi, Super tutorial. One question. Is there any reason why we do not add, on a server side, SignalHub class as a Singelton and insted of using IHubContext use instance of SignalHub directly? Calling method BrodcastEmployee direct from Api controller can harm preformance or anything else? Thanks for answer.
@tecnologiaeinformacionmoyb2723
@tecnologiaeinformacionmoyb2723 7 ай бұрын
intente instanciar el heredado de Hub pero nunca llegaban los mensajes, solo haciendo inyeción como contexto es que llegaron los mensajes
@manjunathap5688
@manjunathap5688 2 жыл бұрын
Where i CAn downoad this source code?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
www.buymeacoffee.com/codingjackpot/e/82139
@rodrigo6459
@rodrigo6459 2 жыл бұрын
Microsoft.AspNetCore.SignalR was deprecated... which one replaces it?
@habibi750
@habibi750 2 жыл бұрын
Did you ever find an answer to this?
@rodrigo6459
@rodrigo6459 2 жыл бұрын
@@habibi750 Nope..! :(
@NoOne-po1oe
@NoOne-po1oe Жыл бұрын
Thanks man you help me a lot even though it lacks some information.
@marcaldo
@marcaldo Жыл бұрын
Very good! Thank you for your work!
@shabanelmogy7912
@shabanelmogy7912 Жыл бұрын
Thank you very much For This Excellent Explain
@habibi750
@habibi750 2 жыл бұрын
Why are you using an api with blazor server?
@cnchandroo
@cnchandroo 2 жыл бұрын
Nice video on SignalR with very good explanations. Is it possible to send messages to specific users instead of broadcasting to all clients using the same WebAPI? Thanks.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
I will create a video tutorial for broadcasting signalr message to a specific user
@andrewglasgow4812
@andrewglasgow4812 2 жыл бұрын
@@CodingJackpot When?
@kanatkudaibergenov564
@kanatkudaibergenov564 Жыл бұрын
Write me, and i will show you how to do that
@MohammadAlbazel
@MohammadAlbazel 2 жыл бұрын
Great! How can I use this to design a real time wallboard statistics, how can I call the api in every second
@CodingJackpot
@CodingJackpot 2 жыл бұрын
to call the api service every second you will have to make use of azure http logic apps when we deploy it .. in logic apps we can mention the x seconds to call the api
@هشام-ظ8ش
@هشام-ظ8ش 2 жыл бұрын
Thank you very much. Very useful video. Is it possible to use SqlDependency?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Do you want to save the signal r messages in SQL server database?
@هشام-ظ8ش
@هشام-ظ8ش 2 жыл бұрын
Hello, it works if it is in the same solution but if the projects is different solution, it does not work why
@terminator4974
@terminator4974 2 жыл бұрын
Ty greetings don from mumbai
@RahmiTaşkıran-i2h
@RahmiTaşkıran-i2h Жыл бұрын
Thank you
@dineshtiparkar6444
@dineshtiparkar6444 Жыл бұрын
Very nice
@Tranehed
@Tranehed 2 жыл бұрын
Thank you! Very helpful :)
@hardikmasalawala8714
@hardikmasalawala8714 2 жыл бұрын
Perfectly managed
@yusufhasan1794
@yusufhasan1794 2 жыл бұрын
It wan't helpful
@ifpchan
@ifpchan 2 жыл бұрын
protected override async Task OnInitializedAsync() { empList = new List(); hubConnection = new HubConnectionBuilder() .WithUrl("localhost:7036/signalhub") .Build(); hubConnection.On("ReceiveEmployee", (incomingEmployee) => { empList.Add(incomingEmployee); updatedOn = DateTime.Now.ToLongDateString(); //StateHasChanged(); InvokeAsync(StateHasChanged); }); hubConnection.On("ReceiveMessage", (incomingMessage) => { stringList.Add(incomingMessage); updatedOn = DateTime.Now.ToLongDateString(); // StateHasChanged(); InvokeAsync(StateHasChanged); }); await hubConnection.StartAsync(); }
@CodingJackpot
@CodingJackpot 2 жыл бұрын
What issue are you getting in this code ?
@faustoluis5486
@faustoluis5486 2 жыл бұрын
@@CodingJackpot He should see errors, because we have to call SateHasChanged to update the UI and, in the code, those statements are commented...
Real-Time Notifications Using Blazor and SignalR from scratch
19:43
Milan Jovanović
Рет қаралды 40 М.
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
.NET 6 - Message Broker with RabbitMQ 🐰🐰🐰
1:00:14
Mohamad Lawand
Рет қаралды 56 М.
ASP.NET Core SignalR - Notifications Service
13:29
Raw Coding
Рет қаралды 21 М.
Call Web Api in .Net 6 Blazor Server HttpClient Rest Api
18:56
Coding Jackpot
Рет қаралды 15 М.
Real-Time Revolution: SignalR in Action - Kevin Griffin - NDC London 2022
1:06:04
SignalR in ASP.NET and C# - Building real-time functionalities
10:30
tutorialsEU - C#
Рет қаралды 39 М.
.Net 6 Blazor Server CRUD Without Web Api
22:49
Coding Jackpot
Рет қаралды 7 М.
.Net 6 Confirm Dialog Box Blazor Server Gridview using Modal Popup
23:22
.Net 6 Blazor Server Create Tab Control
7:37
Coding Jackpot
Рет қаралды 6 М.
Blazor Server Admin Template LTE Dashboard Theme in .Net 6 BootStrap
24:05
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН