Chapter 6: Building Forms with Validation
In this chapter, we will learn about creating forms and validating them, which is a great opportunity to build our admin interface where we can manage our blog posts. We are also going to build multiple reusable components and learn about some of the new functionalities in .NET 5 for Blazor.
This is going to be a super fun chapter and we will use a lot of the things we learned up until now.
In this chapter, we will cover the following topics:
- Exploring form elements
- Adding validation
- Custom validation class attributes
- Building an admin interface
Technical requirements
Make sure you have followed the previous chapters or use the Ch5 folder as a starting point.
You can find the source code for this ...
Get Web Development with Blazor 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.