Follow the below steps to install Blazor in Visual Studio 2019.
- .NET Core SDK 3.1.8/.NET 5.0 SDK
- Visual Studio 2019 (Preview 4 or later) with the ASP.NET and Web development workload added. (This workload includes a Blazor template by default when installing Visual Studio 2019).
Install the latest Blazor Extension from the Visual Studio Marketplace. This step makes Blazor templates available to Visual Studio 2019.
For steps to install Visual studio 2019, refer to the “Install Visual Studio” article.