Saturday, January 11, 2014

Best way for MVC Model Binding

While understanding MVC model binding, I came across below mention 6 steps which helped me understanding modeling technique.

Tip #1: Prefer Binding Over Request.Form
Tip #2: Custom model binders
Tip #3: Custom Model Binding via Inheritance
Tip #4: Using Data Annotations for Validation
Tip #5 : Recognize Binding and Validation As Two Phases
Tip #6: Binders Are About The Environment

Please refer below blog for more details:
http://odetocode.com/blogs/scott/archive/2009/04/27/6-tips-for-asp-net-mvc-model-binding.aspx

No comments:

Post a Comment