Building Real-Time Web Apps with SignalR 2

Building Real-Time Web Apps with SignalR 2

46mIntermediate2019-03-07

Authors

Richard Rout

Richard Rout

Software Developer

Course details

Adding real-time functionality to your web applications can be tricky. SignalR is an open-source ASP.NET library that simplifies this process, making it easier for developers to build dynamic applications that provide users with real-time updates. In this project-based course, instructor Richard Rout acquaints you with the fundamentals of using SignalR 2 with the ASP.NET MVC framework as he walks through the creation of a real-time chat application. Learn how to add real-time functionality to an ASP.NET MVC application, secure it, and add groups.

Learning objectives
What is SignalR?
Scaling out an architecture using SignalR
Adding a SignalR hub and client to an MVC app
Adding JavaScript code to handle sending chat messages
Authentication with SignalR
How SignalR groups work
Adding chat rooms with groups

Skills covered

SignalRASP.NETBack-End Web DevelopmentFront-End Web DevelopmentProjectWeb DevelopmentMicrosoft

Concepts

Introduction

  • Real-time websites with SignalR
  • What you should know

SignalR Overview and Concepts

  • What is SignalR
  • Real-time transports
  • Hubs
  • Clients
  • SignalR connection lifetime
  • Scaling with SignalR

Configuring SignalR in ASP.NET

  • Adding a SignalR hub to an MVC app
  • Adding a SignalR client to an MVC app
  • Sending messages using SignalR

Building a Real-Time App with SignalR

  • Example of Fun Chat
  • Creating an ASP.NET app with SignalR
  • Sending a new chat message
  • Reacting to a new chat message

SignalR Groups

  • How SignalR groups work
  • Adding chat rooms with groups

Authentication with SignalR

  • Authentication with SignalR
  • Adding authentication to Fun Chat
  • Adding private messages to Fun Chat

Conclusion

  • Next steps
40,000 Toman