Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (46 sloc) 2.46 KB
title author description manager ms.custom ms.topic uid
Get started with Blazor
Learn how to get started with the Blazor framework.

Get started with Blazor



Install the following:

  1. .NET Core 2.1 SDK (2.1.402 or later).

  2. Visual Studio 2017 (15.8 or later) with the ASP.NET and web development workload selected.

  3. The latest Blazor Language Services extension from the Visual Studio Marketplace.

  4. The Blazor templates on the command-line:

    dotnet new -i Microsoft.AspNetCore.Blazor.Templates

To create your first project from Visual Studio:

  1. Select File > New Project > Web > ASP.NET Core Web Application.

  2. Make sure .NET Core and ASP.NET Core 2.1 are selected at the top.

  3. Choose the Blazor template and select OK.

    New Blazor app dialog

  4. Press Ctrl-F5 to run the app without the debugger. Running with the debugger (F5) isn't supported at this time.

To create a new Blazor app from the command-line:

dotnet new blazor -o BlazorApp1
cd BlazorApp1
dotnet run

Congrats! You just ran your first Blazor app!

Blazor app home page

Help & feedback

Your feedback is especially important to us during this experimental phase for Blazor. If you run into issues or have questions while trying out Blazor, please let us know!

  • File issues on GitHub for any problems you run into or to make suggestions for improvements.
  • Chat with us and the Blazor community on Gitter if you get stuck or to share how Blazor is working for you.

After you've tried out Blazor, please let us know what you think by taking our in-product survey. Just click the survey link shown on the app home page when running one of the Blazor project templates:

Blazor survey

What's next?