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

Опубликовано: 11 Март 2025
на канале: 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