Search⌘ K

Creating the TaskManager Project

Explore creating a TaskManager project using the Blazor WebAssembly hosted app template. Learn to set up the project in Visual Studio, add data models and controllers, use Entity Framework migrations, and perform CRUD operations with HttpClient. This lesson guides you through initializing a real-world app with backend integration.

The TaskManager project will be created by using Microsoft’s Blazor WebAssembly App project template to create a hosted Blazor WebAssembly app. First, we will examine the demo project created by the project template. Then, we will add a TaskItem class and a TaskItemsController class. We will use Entity Framework migrations to create a database in SQL Server. Finally, we will demonstrate how to read data, update data, delete data, and add data using the HttpClient service.

Getting started with the project

We need to create a new Blazor WebAssembly app. We ...