I am using WCF and REST, and I have complex types, which are working fine. 开发者_开发百科 Now I need to check for validation, I am thinking of using DataAnnotations e.g.