Creating the NewTask Component
Learn how to add and use components in Blazor WebAssembly.
We'll cover the following
We need to add a NewTask
component. We do this as follows:
- Return to Visual Studio.
- Right-click the
Shared
folder and select the “Add, Razor Component” option from the menu. - Name the new component
NewTask
. - Click the “Add” button.
- Remove the
h3
element. - Add the following markup:
Get hands-on with 1400+ tech skills courses.