Solution Review: Blazor Project Template
The solution to the challenge of adding a counter page to an empty Blazor WebAssembly application project.
We'll cover the following
To solve this challenge, we need to locate the Blazor component that gets displayed on the home page of the application. This component is represented by the Index.razor
file located inside the Pages
folder. To make sure the counter is displayed on the homepage, we have replaced the content of this file with the code and markup that we wanted.
Solution
The code widget below shows the complete solution to the exercise where a counter component was added to an empty Blazor WebAssembly project.
Get hands-on with 1400+ tech skills courses.