Learning SignalR with ASP.NET Core
1h 4mIntermediate2018-09-10
Authors

Nate Barbettini
CTO and Lead Engineer at Cobbler
Course details
SignalR simplifies real-time communications, opening up new and faster possibilities for pushing data to clients. Using SignalR in combination with ASP.NET Core, you can build more compelling and dynamic web applications with features like live chat and real-time dashboards. In this course, instructor Nate Barbettini explains the differences between SignalR and comparative technologies such as WebSockets. He shows how to set up your own SignalR server—a hub—and build a simple web client with JavaScript. He also demonstrates how to use groups to segment clients, add persistence in order to store and process messages transmitted by SignalR, and secure your application with user authorization and cookie authentication. By the end of the training, you'll have the skills to build modern, high-performance web and client experiences on top of ASP.NET and SignalR.
Learning objectives
Comparing SignalR to WebSockets
How SignalR works
Adding a SignalR hub
Building a web client in JavaScript
Handling hub and client connection events
Adding connections to groups
Adding persistence
Adding user authentication
Learning objectives
Comparing SignalR to WebSockets
How SignalR works
Adding a SignalR hub
Building a web client in JavaScript
Handling hub and client connection events
Adding connections to groups
Adding persistence
Adding user authentication
Skills covered
SignalRASP.NET CoreBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentLearningWeb DevelopmentMicrosoft
Concepts
0. Introduction
- 01 - Why SignalR
- 02 - What you should know
1.SignalR Overview
- 03 - What is SignalR
- 04 - SignalR vs. WebSockets vs. WebRTC
- 05 - SignalR and ASP.NET Core
- 06 - How SignalR works
- 07 - Changes from SignalR 2.2
2. Basic Chat Features
- 08 - Example app overview
- 09 - Create an ASP.NET Core project
- 10 - Add a SignalR hub
- 11 - Build the JavaScript client
- 12 - Handle hub connection events
- 13 - Handle client connection events
- 14 - SignalR and CORS
3. Groups and Persistence
- 15 - How groups work in SignalR
- 16 - Add connections to groups
- 17 - Send commands from the client
- 18 - Add persistence to SignalR
4. Users and Security
- 19 - Users and authentication
- 20 - Add cookie authentication
- 21 - Add a dashboard view
- 22 - Use a hub from other classes
Conclusion
- 23 - Next steps