Overview
Explore how to enable real-time asynchronous communication between clients and servers using SignalR in ASP.NET Core. Understand the limitations of classic request-response models, the advantages and challenges of WebSocket protocol, and how SignalR abstracts these complexities to make interactive web and mobile applications easier to build and maintain.
We'll cover the following...
Introduction
It’s important for our applications to have the ability to communicate with the server asynchronously and in real-time. Moreover, we probably realize that the standard request-response model of communication isn’t fully suitable for modern apps. Sometimes, our client application (whether it’s a web page, a mobile app, or a service on an IoT device) needs to be able to receive a real-time update from the server that was actually triggered by an event on the server and not by a client request.
We see this functionality everywhere. When we use a messenger app, we expect ...