From Zero to Hero: SignalR in .NET

Enable enterprise-grade real-time communication for your web apps with SignalR.

About This Course

SignalR is a powerful library for ASP.NET Core that enables real-time, bidirectional communication between server and client applications. It abstracts away the complexity of WebSockets, Server-Sent Events, and Long Polling, automatically selecting the best transport method available while providing a simple, consistent API for developers. Real-time features have become essential for modern web applications, from live chat and notifications to collaborative editing and live dashboards. SignalR makes implementing these features in .NET straightforward and production-ready, with built-in support for scaling, security, and multiple client platforms. Companies like Microsoft Teams, Stack Overflow, and countless enterprise applications rely on SignalR to power their real-time features. In this comprehensive 8-hour course, instructor Nick Proud will take you from your first SignalR connection to building enterprise-grade, scalable real-time applications with authentication, streaming, and production deployment strategies.

Course Curriculum

8h 08m 13 sections
Welcome
00:52 Free preview
What will you learn in this course?
01:33 Free preview
Who is the course for and prerequisites
01:16 Free preview
Installing SignalR
08:27
First Hub and Clients
12:09
Sending and Receiving Basic Messages
11:59
Project - Hello SignalR!
19:38
The Connection Lifecycle
05:15
Managing Connection Ids
05:54
Strongly Typed Hubs
04:40
Groups
14:20
Messaging Options - Broadcast to all, others etc
08:44
Managing and Persisting Connection State
11:32
Project - Team Rooms (Group-based Chat)
39:44
Transports
16:38
Protocols
11:18
Implementing Custom Protocols
13:55
Server to Client Streaming
11:18
Client to Server Streaming
07:33
Streaming Binary Data
24:39
Project - Stock Ticker
16:03
Authenticating Connecting with JWTs and Claims
51:51
Securing Hubs and Methods with Policies
13:08
Role-based Access
11:33
Officially Supported Platforms
02:47
.NET Client
08:11
Java Client
05:36
Typescript Client
06:16
Python Client
03:56
Backplanes
06:22
Redis Backplane
11:33
Azure SignalR Service
06:32
Configuring ASP.NET Core Logging
05:14
Handling Failures and Intermittent Issues
24:08
Debugging Connection Issues
05:44
Client-Side Debugging
04:04
Unit and Integration Testing
16:48
Rate Limiting
08:00
Loading Testing SignalR Apps
12:19
Anti-Patterns and Best Practices
08:37
Native AOT
11:05
Polymorphic Hub Methods
06:30
Activity Tracing
05:02
Conclusion
05:09

Meet Your Instructor

Nick Proud

Nick Proud

Based in the north of the UK where he lives with his wife and daughter, he creates educational YouTube videos on C# and .NET. He is also currently the CTO at NexBotix, an intelligent automation firm delivering software that enhances business processes.

View all courses by Nick Proud

What's New

From Zero to Hero: SignalR in .NET
course

From Zero to Hero: SignalR in .NET

Enable enterprise-grade real-time communication for your web apps with SignalR.

Learn More
Deep Dive: Solution Architecture
course

Deep Dive: Solution Architecture

Master solution architecture and turn business needs into scalable, maintainable systems.

Learn More
Migrating: ASP.NET Web APIs to ASP.NET Core
course

Migrating: ASP.NET Web APIs to ASP.NET Core

A step-by-step process to migrate ASP.NET Web APIs from .NET Framework to ASP.NET Core.

Learn More
Getting Started: Caching in .NET
course

Getting Started: Caching in .NET

Let's make the hardest thing in programming easy for .NET software engineers.

Learn More
From Zero to Hero: Testing with xUnit in C#
course

From Zero to Hero: Testing with xUnit in C#

Learn how to test any codebase in .NET with the latest version of xUnit, the industry-standard testing library.

Learn More
Create a ChatGPT Console AI Chatbot in C#
blog

Create a ChatGPT Console AI Chatbot in C#

This walkthrough is your hands-on entry point to create a basic C# console application that talks to ChatGPT using the OpenAI API.

Learn More