Use SignalR to send and receive a message in real-time

Published: 22 July 2024
on channel: Round The Code
1,434
61

Learn how to add SignalR hub to an ASP.NET Core application and add real-time messaging between the client and the server.

We'll set up the hub and add it to the ASP.NET Core application. Afterwards, we'll add the connection to the front-end using JavaScript and show you how to send a message to SignalR, receive a message back and output it to the client.

💻 Download the code example💻
https://www.roundthecode.com/dotnet-c...

► Read the tutorial:
https://www.roundthecode.com/dotnet-t...

🎓 .NET tutorials, code examples and coding challenges 🎓
https://www.roundthecode.com/?utm_sou...

► Chapters
0:00 Coming up...
0:07 Create SignalR hub
2:15 Create connection
4:38 Send & receive a message
8:24 Download the code example


Watch video Use SignalR to send and receive a message in real-time online without registration, duration hours minute second in high quality. This video was added by user Round The Code 22 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,434 once and liked it 61 people.