摘要:
ASP.NET Web API的模型验证与ASP.NET MVC一样,都使用System.ComponentModel.DataAnnotations。具体来说,比如有:[Required(ErrorMessage="")][Range(0, 999)][Bind(Exclude="")][Disp 阅读全文
posted @ 2016-02-27 22:42
Darren Ji
阅读(1962)
评论(0)
推荐(2)