开发者

How to sync complex domain objects structure between server and client

Are there any best practices for syncing hierarchical domain objects between client with mo开发者_StackOverflow社区dular structure (WPF,PRISM,MVVM) and server(WCF service and NHibernate for persistence in DB)?

Already have DTO objects for transport and separate module for server requests with callback management infrastructure.

Thanks in advance=)

Alexey


You may want to take a look at the Microsoft Sync Framework.

Although its main implementation seems to focus on ADO.NET and synchronization of relational data, the Sync Framework supports synchronization of any type of object, including your own custom objects.

You can also choose the protocol over which you want to synchronize, so if you'd like to use e.g. WCF, it will work too.

It does, however, require some work or your behalf.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜