Learn how to create your first Blazor project using .NET 5
To start building Blazor apps with .NET 5, download and install the latest .NET SDK from the Microsoft page.
Link: https://dotnet.microsoft.com/download/dotnet/5.0
- Open Visual Studio 2019
- Click Create a new project.

- Select Blazor App

- Click Next
- Enter Project name, such as BlazorAppDemo1
- Click Create

- Select .NET 5.0 from the dropdown menu
- Select Blazor WebAssembly App
- Click Create

- First Blazor project is ready.
- Build Blazor project

- Run the Blazor Project
- You will see, Hello, world! page in the browser

- Click on Fetch data in the sidebar
- The page will display with sample data from the JSON file.

-
CreatedNov 15, 2020
-
UpdatedNov 15, 2020
-
Views1,749
Related Articles
Fixed: Blazor Webassembly - Google Authentication Issue - Access to XMLHttpRequest at 'https://login.microsoftonline.com/.well-known/openid-configuration' from origin 'https://localhost:7215' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Blazor Bootstrap: Tooltip Component Examples
Blazor Bootstrap: Alert Component Examples
Blazor Bootstrap: Icon Component Examples
Blazor Bootstrap: Toasts Component Examples
Blazor Bootstrap: Modal Component Examples
Blazor Bootstrap: Offcanvas examples
Blazor Bootstrap: Button Examples
Blazor Bootstrap: Quick Start
Blazor: How to bind employees to table / grid