-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
Many web applications require users to enter data and persist it locally for use when offline. Blazor WebAssembly makes it easy to build data entry forms with the EditForm component, validate their data, and persist it in the browser using IndexedDB.
In this chapter, you will learn how to use the EditForm component with Blazor's built-in input components. You will also learn how to use the built-in input validation components in conjunction with Data Annotations to validate their data. Next, you will learn how to use the NavigationLock component to prevent users from losing their edits if they navigate away from the form before saving their changes. Finally, you will learn how to use IndexedDB to store data in the browser.
The project that you will create in this chapter is an expense tracker. You will use IndexedDB to store the expenses. The page used to add and edit expenses will use the EditForm component...