The conventions followed by asp.net mvc for model binding are volatile to my brain for some reason. Here is a summary of the different ways to bind input fields to action parameters. Assuming the following class: public class Person { public string Name; public string Email; } Binding a Custom type <%= Html.TextBox("Name") %> <%= [...]
-
Recent Posts
- ASP.NET MVC Model Binding Form Inputs To Action Parameters
- Notes on MVC routes mapping
- Things I’d love to learn more about
- "Remember Me" Doesn’t work in ASP.NET
- Regex Inverse Matching
- On Defensive Programming
- Getting Around Dynamic Casting To Achieve Better Design And Performance
- Parsing SQL Statements With Regex
- My Favorite Geek Quotes
- jscalendar shows at the top of the screen in IE7
Archives
Blogroll
-
Blog Stats
- 3,781 hits