开发者

Silverlight UI Validation, using WCF but not RIA

Anyone have any recommendations on the best way to do this? Data An开发者_StackOverflow社区notations make sense, but I can't use them with my WCF services (Data annotations on WCF service contracts) . I can't use RIA, because I need to send my services over TCP.


Implement IDataErrorInfo on your entities; you can use a validation framework to do most of the heavy lifting (I've used Fluent Validation for this purpose in WPF). Basically I don't think there's a built-in way, like with RIA services, so you need to write a bit more code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜