Installing ASP.NET SignalR Library into Project

In this article we will learn how to install ASP.NET SignalR Library to the project, there are two ways to install SignalR library to the project those are listed below
  1. Using nuGet package manager
  2. Using package manager console
  • Using nuGet package manager
The easiest way to install the SignalR library is using nuGet package manager, to install follows the following steps
Step 1:
Create Project Using visual studio
Step 2:
Right click on created project solution explorer and find the following option which is highlighted in image.
Step 3:
Then after clicking on it one windows is came type in search box SignalR, after searching its shows like in following image.
 Step 4:
Click on install button, rest thing  will take care by visual studio what version of SignalR library to be installed in current project
After installing the library are automatically added in with script folder in your application as shown in following image
   
  • Using package manager console
The another way to install the SignalR library is using nuGet package console manager, to install follows the following steps
  Step 1:
Goto Tools find package manager console as given image
  click on it ,then following console window appears are as follows
Step 2:
Find the any version of SignalR library from official website of  SignalR and paste in front of PM> and press enter key of keyboard as shown in following image

now it will take few seconds to install SignalR library into your project depending on your internet speed.
Step 3:
After installing the library are automatically added in with script folder in your application as shown in following image

Summary
I hope this article is useful for all readers. In my next article you will learn about the ASP.NET SignalR package library overview If you have any suggestion then please contact me including beginners also.

Post a Comment

www.CodeNirvana.in

Protected by Copyscape Online Copyright Protection
Copyright © Compile Mode