Monday, December 3, 2012

Why All The Lambdas in ASP.NET MVC?

- 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).

What is .d in Json result?

it protects from a tricky JSON hijacking scenario that exists when the outer JSON entity is an array.

3.5 JSON Response in Firebug