Build a web app with Blazor in VS Code

Yogesh Rajput
Oct 18, 2022

Step 1 : Check .NET 6.0 SDK in your system.

> dotnet — list-sdks

Step 2 : In Visual Studio Code, select File > Open Folder. Create a folder with desired name “BlazorSampleApp”.

dotnet new blazorserver -f net6.0

Step 3 : Required assets to build and debug are missing from ‘BlazorSampleApp’. Add them? YES

Step 4 : Run the app

> dotnet watch run

Sample Git Link: https://github.com/yogeshrajput335/BlazorFirstApp

Open to contributing. Please create your own page and raise a pull request.Above git link is open for everyone for learning purpose.

Happy Coding 😀 Keep Learning.

--

--