NEW - Introducing Blogsmith.ai: Turn your videos into blogs and newsletters with AI Check it out →

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 8m 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

Blogsmith.ai
feature

Blogsmith.ai

Turn your videos into blogs and newsletters with AI. Check out our new product at blogsmith.ai.

Learn more about Blogsmith.ai
Leaderboard
feature

Leaderboard

See how you stack up against other learners. Track your progress, climb the ranks, and compete with the Dometrain community.

Learn more about Leaderboard
Hands-On: Learn PostgreSQL
course

Hands-On: Learn PostgreSQL

Learn PostgreSQL through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

Learn more about Hands-On: Learn PostgreSQL
Free Hands-On: C# for Beginners
course

Free Hands-On: C# for Beginners

Learn C# through hands-on coding exercises. Practice what you learn with interactive challenges designed for everyone, from beginners to experts.

Learn more about Free Hands-On: C# for Beginners
Getting Started: AI for .NET Developers
course

Getting Started: AI for .NET Developers

Get started with integrating AI into your .NET applications effectively using the latest LLM best practices.

Learn more about Getting Started: AI for .NET Developers
Getting Started: Building .NET Applications on AWS
course

Getting Started: Building .NET Applications on AWS

Learn how to build and deploy .NET applications on AWS using CDK, Lambda, DynamoDB, S3, and more.

Learn more about Getting Started: Building .NET Applications on AWS
What's new in C# 14
blog

What's new in C# 14

This guide covers every new C# 14 feature, explains its benefits, and provides practical code examples to help you navigate how you can use them.

Learn more about What's new in C# 14
Let's Build It: AI Chatbot with RAG in .NET Using Your Data
course

Let's Build It: AI Chatbot with RAG in .NET Using Your Data

Build a Retrieval-Augmented Generation (RAG) chatbot that can answer questions using your data.

Learn more about Let's Build It: AI Chatbot with RAG in .NET Using Your Data
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 about From Zero to Hero: SignalR in .NET
Deep Dive: Solution Architecture
course

Deep Dive: Solution Architecture

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

Learn more about Deep Dive: Solution Architecture
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 about Migrating: ASP.NET Web APIs to ASP.NET Core
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 about Getting Started: Caching in .NET
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 about From Zero to Hero: Testing with xUnit in C#
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 about Create a ChatGPT Console AI Chatbot in C#