Building Real-Time Applications With SignalR & .NET 9 (full tutorial)
Milan Jovanović
0:00 / 0:00
Building Real-Time Applications With SignalR & .NET 9 (full tutorial)
56 275 просмотров · 1 год назад
Milan Jovanović
167 тыс. подписчиков
56 275 просмотров · 1 год назад
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Get the source code here: / milanjovanovic
Tired of polling your backend every 5 seconds for updates? In this full tutorial, I’ll show you how to build real-time functionality into your .NET application using SignalR — no page reloads, no polling, just smooth, live updates!
In this video, you'll learn:
How to configure SignalR in your .NET backend
Building and exposing a SignalR Hub
Sending targeted updates to users (not just broadcasting!)
Securing SignalR connections with JWT authentication
Setting up a simple HTML/JS client to receive live messages
Bonus: Strongly-typed client methods for cleaner code
We’ll build a small order tracking app that updates order statuses live in the browser as they change on the backend.
Whether you’re new to SignalR or looking to implement advanced features like authenticated hubs and user-specific notifications, this tutorial has you covered.
📌 Watch till the end to see how to send secure, targeted messages with just a few lines of code!
Adding Real-Time Functionality To .NET Applications With SignalR
https://www.milanjovanovic.tech/blog/...
Check out my courses:
https://www.milanjovanovic.tech/courses
Read my Blog here:
https://www.milanjovanovic.tech/blog
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Chapters
0:00 Exploring the demo app
1:26 Configuring SignalR services
1:54 Creating the SignalR Hub
4:43 Using IHubContext to send messages
5:44 Exposing the SignalR Hub
6:08 Client-side SignalR integration
9:02 Strongly-typed Hubs (clients)
9:53 Securing your SignalR Hubs