ASP.NET Core SignalR #2 - One to one Chat

preview_player
Показать описание
ASP.NET Core SignalR #2 - One to one Chat
Рекомендации по теме
Комментарии
Автор

amazing. you can not imagine how upset I was when i found that there are tons of signalr one to one chat tutorials but none of them shows actual process. they all show how same thing over and over again, without posting their source codes. Thank you for this video. You just earned a subscriber.

khalidracabov
Автор

Thanks! I like that video is short, to the point, clear code examples, and works as expected.

addisonzoraoffical
Автор

Is there a way that i can save all messages send by one user in a database?

GinoToch
Автор

Hi Can we save messages in database so that we can load chat history for returning users. i.e. Skype maintain chat history?

TALHAEDITSK
Автор

I can't get connectionId, pls help !

NamNguyen-dspd
Автор

In real time, use is not copy pasting the connectionid, how to handle that .

Bcs-Mohtisham
Автор

@Kalpesh satasiya How this all with Identity framework?

adeellone
Автор

hi, can we connect signalr hub with two different application like one angular app and second dotnetcore app both running at the same time

shyamtiwary-guruniketan
Автор

Hi. Thank you, but, you copy past the receiverId by your hand for sending message xD We need to know how wen can do it in the code, not by copy past... Again, thank you.

raikho
Автор

Just to echo others here. This doesn't solve anything, as the other user isn't going to know your connectionID. You are supposed to be able to auth with AAD or somesuch and then send to users based on their identities. This mapping is SUPPOSED to be setup during the initial connection between client and except it doesn't, because the user comes though as un-authed, and then the association with connectionid seems to fail. So when you send to the userid, the client never receives it. I am gradually coming to the conclusion that SignalR is actually broken, and that no-one actually uses it for anything, just demos. Most people doing the demos just send to all (yay, what use is that?), so well done for actually trying to do the send to user. However this still isn't a real use. Auth the users, send to the auth'd userid etc.

benp