Aleksei Anufriev
Aleksei Anufriev

Reputation: 3236

How to sync complex domain objects structure between server and client

Are there any best practices for syncing hierarchical domain objects between client with modular 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

Upvotes: 2

Views: 550

Answers (1)

Mark Seemann
Mark Seemann

Reputation: 233135

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.

Upvotes: 3

Related Questions