Get started with Blazor
Blazor is an unsupported experimental web framework that shouldn't be used for production workloads at this time.
- Install the .NET Core 2.1 SDK (2.1.300 or later).
- Install Visual Studio 2017 (15.7) with the ASP.NET and web development workload selected.
- Note: The Blazor tooling isn't currently compatible with the VS2017 preview channel (15.8). This will be addressed in a future Blazor release.
- Install the latest Blazor Language Services extension from the Visual Studio Marketplace.
To create your first project from Visual Studio:
- Select File > New Project > Web > ASP.NET Core Web Application.
- Make sure .NET Core and ASP.NET Core 2.0 (or later) are selected at the top.
Choose the Blazor template and select OK.
Press Ctrl-F5 to run the app without the debugger. Running with the debugger (F5) isn't supported at this time.
You can also install and use the Blazor templates from the command-line:
dotnet new -i Microsoft.AspNetCore.Blazor.Templates dotnet new blazor -o BlazorApp1 cd BlazorApp1 dotnet run
Congrats! You just ran your first Blazor app!
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: