Adding the SignalR libraries

There are two sets of libraries that will need to be installed, client and server:

  1. Let's start with the server libraries. For this, we'll use NuGet. From within the NuGet Package Manager, select Manage NuGet Packages:

If you prefer, this can also be installed using the Package Manager Console using the Install-Package Microsoft.Azure.SignalR command.

  1. For the client-side libraries, we'll use npm to install the SignalR libraries.
npm is a package manager, like NuGet, but for JavaScript. Feel free to check it out at https://www.npmjs.com.
  1. Let's make sure that we're on the latest version of npm; launch PowerShell ...

Get C# 8 and .NET Core 3 Projects Using Azure - Second Edition 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.