Creating the Blazor Server project
Let's go ahead and add a new Blazor Server project within the existing project solution. In the Visual Studio menu, select File | New | Project. Alternatively, you can also right-click on the solution to add a new project. In the Create a new project dialog field, select Blazor App, as shown in the following screenshot:
Click Next. In the next screen, you can configure the name and location path for your project. In this example, we will just name the project BlazorServer.Web
. Click Create and you should be presented with the following dialog:
Select the Blazor Server App template, leave the default configuration as is, and then click Create. Visual Studio should scaffold the necessary files needed to build the Blazor Server app, as shown in the following screenshot: