Challenge: Using Razor Components Features

Test yourself by modifying Razor components inside a Blazor application.

We'll cover the following

Overview

Using the project below, perform the tasks highlighted in the Requirements section.

Requirements

The following challenge represents a standard Blazor WebAssembly project template. We need to modify it so that the Counter Razor component is displayed on the home page. We also need to remove hardcoded HTML attributes from the Counter component and add them back in as a C# object.

Get hands-on with 1200+ tech skills courses.