Forms in Blazor are essentially wrappers around your input elements. They can help structure your pages and components better, but the most important feature is data validation. This could be verifying email format, password length, or something more custom. In many ways the arrangement is very similar to razor views or razor pages, or many other similar technologies, but in server-side rendering approach, you will be using the data passed through the form without any traditional request or response to the server.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Forms in Blazor

  • Taurius Litvinavicius

摘要

Forms in Blazor are essentially wrappers around your input elements. They can help structure your pages and components better, but the most important feature is data validation. This could be verifying email format, password length, or something more custom. In many ways the arrangement is very similar to razor views or razor pages, or many other similar technologies, but in server-side rendering approach, you will be using the data passed through the form without any traditional request or response to the server.