Project setup

Create a new ASP.NET Core 2.0 MVC app named TicTacToeGame, like we did in the Creating a simple running code section in Chapter 1, Getting Started.

With this, we will have a basic working ASP.NET Core 2.0 MVC app in place. However, to leverage SignalR Core in our app, we need to install SignalR Core NuGet and the client packages.

To install the SignalR Core NuGet package, we can perform one of the following two approaches in the Visual Studio IDE:

  • In the context menu of the TicTacToeGame project, click on Manage NuGet Packages. It will open the NuGet Package Manager for the project. In the Browse section, search for the Microsoft.AspNetCore.SignalR package and click Install. This will install SignalR Core in the app. Please ...

Get .NET Core 2.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.