Challenge: Applying Dynamic Rendering

Test yourself by applying dynamic rendering in Blazor.

We'll cover the following

Overview

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

Requirements

In the following project, we have a vehicle selection control on the Index page. Currently, selecting a vehicle in the drop-down list doesn’t do anything. You need to apply the following changes:

  • When a new vehicle is selected, the corresponding Razor component is inserted into the DynamicComponent element.

  • The Title parameter, which is blank by default, is applied to the Razor component based on the component's name.

Get hands-on with 1200+ tech skills courses.