Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing visual studio 2019 blazor webassembly app template

I updated my vs 2019 16.3.10 to 16.4 and .net core 3.0 to .net core 3.1 but the blazor web assembly application template is missing.

like image 708
Omid Ataei Avatar asked Dec 10 '19 17:12

Omid Ataei


People also ask

How do I install Blazor code in Visual Studio?

Open Syncfusion Blazor Code Extensions in Visual Studio Code Marketplace. Click Install from Visual Studio Code Marketplace. The browser displays a popup window with information such as “Open Visual Studio Code”. When you click Open Visual Studio Code, the Syncfusion Blazor Extension will launch in Visual Studio Code.

Is Blazor WebAssembly production ready 2021?

Yes, Blazor is ready to be used in production, it is a life changer, Blazor is a framework that optimizes development speed, helps considerably reducing code duplication and inconsistencies between front-end and api/backend models, and in turn it helps reducing bugs and development costs, in top of that, since Blazor ...


2 Answers

Try the following to install the latest Blazor WebAssembly template. Run the following command:

dotnet new --install Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3 

Get the latest version here. It's free...

like image 200
enet Avatar answered Sep 19 '22 15:09

enet


In command line run:

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.1.0-preview2.19528.8
cd C:\Users\Username\Documents\MyWebSites\BlazorWebAssySite1
dotnet new blazorwasm

Open VS2019, choose open project and find BlazorWebAssySite1 folder. Done. For new projects just create a new project folder and run the last command.

Have also a look at this video: https://www.youtube.com/watch?v=bophIr--1QY .

like image 22
Chris Avatar answered Sep 18 '22 15:09

Chris