你的位置: 码友网首页 / 资讯源列表 / Custom XML model binder for ASP.NET MVC

关于[Custom XML model binder for ASP.NET MVC]的摘要:

In an earlier post I wrote about using an XML value provider to allow you to send XML to your .NET MVC action methods. This is great, untill you want to accept XML where you have a model that needs XML atributes to control how it's deserialized. As the value provider stage happens before mondel binding it has no knowledge of the model objects that the values will be pushed into. So it can't look at your model class's XML attributes.

原文地址: http://www.nogginbox.co.uk/blog/custom-xml-model-binder-asp.net-mvc

收录时间: 2020-03-06 浏览量: 1143 分类: ASP.NET MVC

| 0 收藏 | 0