IModelBinder and ASP.NET MVC Beta

2019-04-08 10:18发布

问题:

Does anyone have links to tutorials regarding the new IModelBinder in asp.net mvc beta?

I can't get my head around it properly, so much has changed.

Thanks

回答1:

Take a look at the source of DefaultModelBinder. That'll give you some clues.



回答2:

As Haacked points out the source for DefaultModelBinder is a good resource. It would be nice to see a related tutorial on http://www.asp.net/mvc though (hint... hint... at Haacked).

For your convenience here is a direct link to the relevant source: http://aspnet.codeplex.com/SourceControl/changeset/view/23011#266460