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.

  1. Download and install Visual Studio 2019

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

  2. Create a new project

    Open Visual Studio 2019 and click Create a new project . create new project

  3. Select Blazor app from the template

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

  4. 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

  5. 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

  6. Blazor Server App structure

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

  7. 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

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

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

Please submit your question and answer.