SignalR

SignalR is a library that provides real-time web functionality to applications using WebSocket transport (if HTML 5 is supported; older transport methods will be used if it is not supported). It has the ability for a server to push data to its clients in real-time as it becomes available; this means we do not have to repeatedly ask the server for data (such as refreshing/recalling the Web API).

In order to set up SignalR, we must first set up a SignalR Hub on the server side; our clients (mobile projects) will use access this Hub by creating a HubConnection and creating a HubProxy from which the server and client can call functions on either side.

Now let's get into development; we will have the same hardware set up as the last chapter. ...

Get Xamarin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.