本文介绍了ASP.NET MVC 3 模型绑定资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个很好的资源,它非常详尽地描述了模型绑定如何与 ASP.NET MVC 3(或在较小程度上,MVC 2)和不同的方法一起工作.除了那里的点点滴滴之外,我一直无法找到关于这个主题的任何好的资源.网络上的信息更多是关于如何做 X",而不是解释模型绑定的内部原理.有什么建议吗?书籍推荐也不错.

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.

推荐答案

看一看:

ASP.NET MVC 模型绑定 - 第 1 部分和第 2 部分

ASP.NET MVC Model Binding - Part1 and Part2

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

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

ASP.NET MVC 模型绑定的 6 个技巧

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

MVC 3 中的自定义模型绑定器和 IModelBinder

Custom Model Binders in MVC 3 with IModelBinder

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

这篇关于ASP.NET MVC 3 模型绑定资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 10:06