Live Chat Icon For mobile
Live Chat Icon

How do I create a Blazor server-side application in Visual Studio 2019?

Platform: Blazor| Category : Getting started, General

Follow the step-by-step procedure below to create a Blazor Server Application in Visual Studio 2019.

Download and install Visual Studio 2019

Download and install the latest version of Visual Studio 2019 with the ASP.NET and web development workload.

Create a new project

Open Visual Studio 2019 and click Create a new project.

Select Blazor app from the template

Select Blazor App from the template list and click the Next button.

blazor template

Configuring the project

The project configuration window will pop up. Click the Create button to create a new project with the default project configuration.
Blazor server configure

Choose Blazor Server App

Select a target framework based on your requirement, choose the Blazor Server App from the dashboard, and then click Create to create a new Blazor Server application.

Blazor server template

Blazor Server App structure

Now the Blazor Server App is created, and the structure look like the following image.
Server structure

Run the application.

Press Ctrl + F5 to run the application and find the output in default browser.
server output

Refer to this link for more details.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.