阅读背景:

Web API验证不使用自定义模型绑定器

来源:互联网 

I'm building Web Service with Web API 5. I'm implementing custom model binder by extending IModelBinder interface to map complex type as a parameter to action. The binding part is working fine. But Model validation does not occur. ModelState.IsValid is always true.I'm building Web Service with Web API 5. I'm im




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: