6
Building Forms with Validation
In this chapter, we will learn about creating forms and validating them, which is an excellent opportunity to build our admin interface where we can manage our blog posts. We will also build multiple reusable components and learn about some of the new functionalities in Blazor.
This chapter will be super fun, and we will use a lot of the things we have learned up until now.
In this chapter, we will cover the following topics:
- Exploring form elements
- Adding validation
- Custom validation class attributes
- Looking at bindings
- Building an admin interface
Technical requirements
Make sure you have followed the previous chapters or use the Chapter05
folder as a starting point.
You can find the source code for this chapter’s ...
Get Web Development with Blazor - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.