ASP.NET MVC 3 Model Binding Resources

依然范特西╮ 提交于 2019-11-26 17:32:55

问题


I am looking for a good resource that describes very thoroughly how model binding works with ASP.NET MVC 3 (or to a lesser extent, MVC 2) and different approaches. I have not been able to find any good resources on this topic, except bits and pieces there. The information on the net is more about "how to do X" than explaining how the internals of model binding work. Any recommendations? Book recommendations are fine as well.


回答1:


Take a look:

ASP.NET MVC Model Binding - Part1 and Part2

http://www.codeproject.com/KB/aspnet/AspNetMVCModelBinding.aspx

http://www.codeproject.com/KB/aspnet/AspNetMVCModelBinding2.aspx

6 Tips for ASP.NET MVC Model Binding

http://odetocode.com/blogs/scott/archive/2009/04/27/6-tips-for-asp-net-mvc-model-binding.aspx

Custom Model Binders in MVC 3 with IModelBinder

http://buildstarted.com/2010/09/12/custom-model-binders-in-mvc-3-with-imodelbinder/




回答2:


The Features and Foibles of ASP.NET MVC Model Binding - http://msdn.microsoft.com/en-us/magazine/hh781022.aspx

http://dotnetslackers.com/articles/aspnet/Understanding-ASP-NET-MVC-Model-Binding.aspx



来源:https://stackoverflow.com/questions/5692964/asp-net-mvc-3-model-binding-resources

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!