We are currently investigating the right architecture for our software. We want to create a service that contains methods like we are used to using RIA services. Then, this service can be accessed by different types of client (WPF, Silverlight, WP7, iPhone, etc).
Now we implement a Repository (say customer) where all the queries are located in. How can we move the logic of this repository to the server as a service so we don't have to write the same query logic for each target device or framework?
Thanks in advance!