Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
SignalR: Real-time Application Development - Second Edition

You're reading from   SignalR: Real-time Application Development - Second Edition A fast-paced guide to develop, test, and deliver real-time communication in your .NET applications using SignalR

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher Packt
ISBN-13 9781785285455
Length 222 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Einar Ingerbrigsten Einar Ingerbrigsten
Author Profile Icon Einar Ingerbrigsten
Einar Ingerbrigsten
Arrow right icon
View More author details
Toc

Getting the project ready

Our project will have a server component to it; the server component will also be hosting the web client that we will be using.

  1. Start by creating a new project in Visual Studio:
    Getting the project ready
  2. Select the regular empty ASP.NET Web Application project template situated under Visual C# | Web. Give it a name: SignalRChat. Make sure Add Application Insights to Project is unchecked. Then, click on OK:
    Getting the project ready
  3. Select the Empty template and make sure Host in the cloud is left unchecked. Then, click on OK:
    Getting the project ready

Setting up the packages

Now, we will need some packages to get things started. This process is described in detail in Chapter 1, The Primer. Let's start off with adding SignalR, which is our primary framework that we will be working with to move on. We will be pulling this using NuGet, as described in Chapter 1, The Primer; right-click on References in Solution Explorer and select Manage NuGet Packages, and type Microsoft.AspNet.SignalR in the Search panel. Select this and click on Install...

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