CHAPTER 3
In Visual Studio 2019, create a new project by going to File > New Project, or simply select the Create a new project option after launching Visual Studio.

Figure 14: Create a New Project
The new project form will be displayed, and you will see that you can filter the project templates displayed by choosing C#, Windows, and Web from the drop-down filters.
Select the ASP.NET Core Web Application project template and click Next.

Figure 15: Configuring Your Project
The Configure your new project form will now be displayed, as seen in Figure 15. I called my project realtimechat and placed it into a solution called signalr. Specify the file location for your source code and click Create.

Figure 16: Creating a .NET Core Web App
You will then see the ASP.NET Core web application creation form. You want to select .NET Core and ASP.NET Core 3.1 from the drop-down boxes at the top of the form. Next, you need to select the Web Application option from the list of project templates.
You can leave all the other options, such as Authentication, Docker Support, and Enable Razor runtime compilation, set to their default values. Click Create to create your ASP.NET Core Web Application project.

Figure 17: The Created Solution and Project
Once your Visual Studio project is created, your Solution Explorer window will look as shown in Figure 17. The next step we need to take is to add the SignalR client library to the project. Let’s do that next.