Monday, December 3, 2012

Why All The Lambdas in ASP.NET MVC?

http://odetocode.com/blogs/scott/archive/2012/11/26/why-all-the-lambdas.aspx


- If Model is null, the code will fail with an exception.
- We aren't providing any client side validation support.
- We have no ability to display an alternate value (like an erroneous value a user entered on a previous form submission – we want to redisplay the value, show an error message, and allow the user to fix simple typographical errors).


No comments:

Post a Comment