STRUCTURED COURSE

Real-Time Applications with ASP.NET Core SignalR

Learn how to build real-time web applications with ASP.NET Core SignalR. Implement hubs, client-server communication, groups, notifications, live data updates, connection management, and scalable real-time architectures.

14 lessons 690 dk SignalR / TypeScript / JWT / Redis Backplane
Real-Time Applications with ASP.NET Core SignalR

In this course series, we will learn how to build real-time applications using ASP.NET Core SignalR. We will cover hubs, client-server communication, JavaScript clients, connection management, user and group messaging, real-time notifications, live data updates, and progress tracking through practical scenarios. We will also explore authentication and authorization, automatic reconnection, error handling, background service integration, scalability, and using SignalR in multi-server environments.

What you will learn

Understand SignalR architecture, create hubs, establish real-time client-server communication, send messages to users and groups, build live notifications and data updates, manage reconnection, implement authentication and authorization, send SignalR messages from background services, and design scalable real-time systems.
CURRICULUM

Course lessons

14 lessons
  1. 11. Project Setup and SignalR ArchitectureBuild a real-time notification and task-tracking project with ASP.NET Core and .NET 10, then examine SignalR hubs, connections, clients, and servers through a working example.90 dk
  2. 22. Building the First Hub and JavaScript Client-Server CommunicationLearn how to create a basic SignalR Hub, configure the JavaScript client, and implement real-time message sending, receiving, and connection management.50 dk
  3. 33. Shared Message Models and Type-Safe CommunicationDesign shared DTOs for notifications, chat, and task events; validate Hub parameters, handle return values and errors, and align TypeScript models with the JavaScript client.45 dk
  4. 4Connection Lifecycle and Tracking Connected UsersLearn to manage connection IDs, online users, last-seen information, and client connection status with OnConnectedAsync and OnDisconnectedAsync.45 dk
  5. 55. User-Based and Group-Based MessagingBuild secure private messaging and project-room communication with SignalR user, connection, and group targets.45 dk
  6. 66. Building a Real-Time Notification CenterPersist notifications in a database, broadcast them with SignalR, and build a JavaScript notification panel with an unread counter.45 dk
  7. 77. Live Data Updates and the Task DashboardBuild a task dashboard that reflects task creation, updates, status changes, and deletions in real time without page refreshes.50 dk
  8. 88. Long-Running Operations and Real-Time Progress TrackingLearn how to monitor long-running file and report operations with SignalR, publish progress, support cancellation, and handle interrupted connections.45 dk
  9. 99. Securing SignalR with JWT AuthenticationBuild a JWT-based login flow without ASP.NET Core Identity, pass access tokens to SignalR connections, and protect API and Hub endpoints.45 dk
  10. 1010. Authorization, User Scope, and Secure Hub MethodsLearn how to secure SignalR hubs with roles, policies, and resource ownership, while testing group access, UserIdentifier usage, and IDOR risks.35 dk
  11. 1111. Reconnection, Error Handling, and a Resilient ClientLearn how to build a resilient SignalR JavaScript client with automatic reconnection, safe error handling, group rejoining, and missed-data synchronization.55 dk
  12. 1212. Sending SignalR Messages from a Background ServiceLearn how to send SignalR messages to connected clients, users, and groups from periodic jobs implemented with BackgroundService and IHostedService.50 dk
  13. 1313. Multi-Server Scalability with a Redis BackplaneConfigure a Redis backplane for SignalR, distribute Hub messages across multiple ASP.NET Core instances, and test Docker deployment, sticky sessions, routing, and failure behavior.35 dk
  14. 1414. Integration Testing, Observability, and Production ReadinessValidate SignalR hub and API workflows with integration tests, then apply structured logging, metrics, correlation IDs, and production readiness checks.55 dk
Start the first lesson