Tuesday, September 26, 2023

Setup for Blazor development

Blazor is a web framework that is both free and open source. It allows developers to build web applications using C# programming language that can run directly in a web browser. In this article, we’ll explore Blazor in greater detail and provide instructions for setting up a Blazor development environment on your local machine.

Install .Net SDK 3.1 or later:

To check the installed .NET Core SDKs on your computer, execute the following command in the command line.

dotnet --list-sdks

As you can see in the above image, in my machine, there are five different versions of .NET Core SDKs are installed.
In case you are unable to found version 3.1 or later, you may download and install the .NET Core SDK from https://dotnet.microsoft.com/download/

Download Visual studio

Then we need an IDE Visual Studio, Visual Studio Code or the .NET Core CLI.
Download visual studio from https://visualstudio.microsoft.com/downloads/

Blazor Prerequisites

• C#