Book Image

SignalR Blueprints

By : Einar Ingerbrigsten
Book Image

SignalR Blueprints

By: Einar Ingerbrigsten

Overview of this book

Table of Contents (18 chapters)
SignalR Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
9
Debugging or Troubleshooting
Index

Getting started – creating an MVC template


  1. Open Visual Studio and create a new project by navigating to FILE | New | Project. The following dialog box will show up:

  2. From the left-hand side menu, select Web and then ASP.NET Web Application.

  3. Enter Chapter3 in the Name textbox and select your location.

  4. Select the MVC template from the template selector and make sure you deselect the Host in the cloud option.

  5. Before we click on OK, we want to click on the Change Authentication button, as shown in the following screenshot:

  6. Make sure the Individual User Accounts option is selected and click on OK, followed by OK in the template selector dialog box you came from:

You now have your MVC template created, which enables authentication with its own user database. The foundation has been set!

Setting up the packages

As shown in Chapter 2, Overheating the Discussion, we will have to get all the dependencies in order for things to work.

Start by adding the Entity Framework for database access. Download it using...