In this article we will discuss if you face WebAssembly app template missing in visaul studio 2019 then how to install this. Before starting this article please go through our previous article Blazor hosting models.
Blazor WebAssembly
Blazor WebAssembly (also called client-side blazor) is still in preview. So, if you try to create a Blazor project using Visual Studio 2019, you will only find Blazor Server App template and not Blazor WebAssembly App template.
If the blazor app is missing then install the below command in command prompt.
After installing this you can find the template as below;Blazor WebAssembly (also called client-side blazor) is still in preview. So, if you try to create a Blazor project using Visual Studio 2019, you will only find Blazor Server App template and not Blazor WebAssembly App template.
If the blazor app is missing then install the below command in command prompt.
You can execute this command either from the Package Manager Console in Visual Studio or from the command prompt. |
- dotnet new --install Microsoft.AspNetCore.Blazor.Templates::0.7.0
You can see that after installing the above package Blazor WebAssembly App are shown.
Post a Comment