-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
Most web applications are not monoliths. They are composed of a client application that runs in the browser and a separate backend API that handles data access, validation, and security.
In this chapter, you will learn how to build an application that combines a standalone Blazor WebAssembly app with an ASP.NET Core Web API to persist data in a SQL Server database. You will learn how to use the HttpClient service to call a web API, JSON helper methods to view, add, edit, and delete data and Visual Studio's .http files to test your API endpoints.
The project you create in this chapter is a task manager. You will use a multi-project architecture solution to separate the Blazor WebAssembly client from the ASP.NET Core Web API endpoints. The client displays tasks and sends create, read, update and delete (CRUD) requests to the API, while the API persists the data in SQL Server by using Entity Framework Core....