Building a web client using the SignalR JavaScript library
Next, we will add the SignalR client-side JavaScript library so that we can use it on a web page:
- Open a command prompt or terminal for the
Northwind.SignalR.Service.Client.Mvc
project/folder. - Install the Library Manager CLI tool, as shown in the following command:
dotnet tool install -g Microsoft.Web.LibraryManager.Cli
This tool might already be installed globally. To update it to the latest version, repeat the command but replace
install
withupdate
, as shown highlighted in the following code:PS C:\apps-services-net7\Chapter13\Northwind.SignalR.Service.Client.Mvc> dotnet tool install -g Microsoft.Web.LibraryManager.CliTool 'microsoft.web.librarymanager.cli' is already installed. PS C:\apps-services-net7\Chapter13\Northwind.SignalR.Service.Client.Mvc> dotnet tool update -g Microsoft.Web.LibraryManager.Cli Tool 'microsoft.web.librarymanager.cli' was successfully...