Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
C# 7 and .NET Core 2.0 Blueprints

You're reading from   C# 7 and .NET Core 2.0 Blueprints Build effective applications that meet modern software requirements

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher
ISBN-13 9781788396196
Length 428 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Dirk Strauss Dirk Strauss
Author Profile Icon Dirk Strauss
Dirk Strauss
Jas Rademeyer Jas Rademeyer
Author Profile Icon Jas Rademeyer
Jas Rademeyer
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. eBook Manager and Catalogue App FREE CHAPTER 2. Cricket Score Calculator and Tracker 3. Cross Platform .NET Core System Info Manager 4. Task Bug Logging ASP .NET Core MVC App 5. ASP.NET SignalR Chat Application 6. Web Research Tool with Entity Framework Core 7. A Serverless Email Validation Azure Function 8. Twitter Clone Using OAuth 9. Using Docker and ASP.NET Core 10. Other Books You May Enjoy

Adding the SignalR libraries


Next, we need to add the SignalR package files to our project.

At the time of writing, the package for ASP.NET Core SignalR could not be found when browsing in the NuGet Package Manager, so we'll use the Package Manager Console to add the packages needed.

  1. Go to Tools | NuGet Package Manager | Package Manager Console:
  1. In the console window type the following command and hit enter:
Install-Package Microsoft.AspnetCore.SignalR -Version 1.0.0-alpha2-final

You should see a few response lines showing the items that were Successfully installed.

We also need the SignalR client JavaScript library for our project. For this we'll use an npm command.

Note

npm is a package manager, like NuGet, but for JavaScript. Feel free to check it out at https://www.npmjs.com.

  1. In the console window type the following command and hit enter:
npm install @aspnet/signalr-client

This will download a host of js files to a node_modules folder within your project's root directory. The output may show some...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image