Displaying the Tasks
Learn how to configure a client project to display tasks to the UI from the database.
We need to fetch the list of tasks and display them to the user. We do this as follows:
- Return to Visual Studio.
- Right-click the
TaskManager.Client.Pages
folder and select the “Add, Class” option from the menu. - Name the new class
Index.razor.cs
. - Click the “Add” button.
- Add the
partial
modifier to the class:
Get hands-on with 1400+ tech skills courses.