Improve how forms and validation work in Blazor web apps

Intermediate
Developer
Solution Architect
Blazor
ASP.NET

Learn how to use forms in Blazor, add event handlers, and validate the data a user submits. By using Blazor form components you can validate client-side forms without writing client-side JavaScript to handle the validations.

Learning objectives

By the end of this module, you'll be able to:

  • Improve your app's interactivity using Blazor event handlers.
  • Use forms in Blazor to facilitate data entry.
  • Extend forms in Blazor with server and client-side validation.

Prerequisites

  • Basic knowledge of web app concepts
  • C# .NET experience at a beginner level
  • Local installations of the .NET SDK and Visual Studio Code
  • C# extension for Visual Studio Code
  • Experience with using the command line
  • Knowledge of Blazor components
  • Knowledge of Blazor routing and layouts