December 2022
Intermediate to advanced
456 pages
14h 8m
English
This chapter covers
The last chapter covered how model binding takes form input and binds it to handler parameters and public properties in Razor Pages. You learned that the key to ensuring successful binding is ensuring that the name of the binding source matches that of the binding target. Up to now, you have generated the name of your form controls manually. This potentially error-prone approach doesn’t move you much beyond fishing around in the Request.Form collection for your posted values.
In Razor ...
Read now
Unlock full access