What Makes SignalR So Great

Learn some important use cases of SignalR.

We'll cover the following

Overview

SignalR is a library that is incredibly easy to implement compared to the alternatives. Using this library is just as easy as writing remote procedure calls. We’ll have some endpoint methods on our server that are just basic C# methods. As long as we specify the methods of the same names on the client and put the expected parameters into them, the connection will be made, and the method will be triggered.

The same applies the other way round. Our client will have event listeners with arbitrary names. As long as we correctly spell the listener’s name in our server-side code and apply expected data types as parameters, the listener on the client will be triggered.

For example, our server-side method might look like this:

Get hands-on with 1200+ tech skills courses.