From the course: Learning ASP.NET

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introduction to ASP.NET SignalR

Introduction to ASP.NET SignalR

From the course: Learning ASP.NET

Start my 1-month free trial

Introduction to ASP.NET SignalR

- [Instructor] In today's world, we expect applications to have real-time capabilities where we get instant updates to the latest information. Whether it's a dashboard, a chat feature, or real-time collaboration between users, like editing documents or gaming, it's likely that at some point you'll need to support real-time web functionality. The good news is that ASP.NET offers developers a library called SignalR. It makes the process of adding real-time functionality pretty straightforward. With SignalR, server code can push information to connected clients as it becomes available. The server doesn't have to wait for a client to make a data request. Here's how it works. SignalR offers an API called the Hubs API. It lets server code call out to client code with remote procedure calls, or RPC. Basically, .NET code on the server side can call JavaScript functions in a client like a web browser. This is called server push functionality. It's a different model from what we're used to with…

Contents