title: WCF Ria Service between Silverlight Client and Business Logic?
body: <p>I have an issue very similar to <a href="https://stackoverflow.com/questions/4644311/silverlight-use-of-a-local-wcf-service-for-business-logic-intermediate-wcf-ser">this one</a>.</p>
  
  <p>There is an existing software (Data &amp; business layer) running on a server and I want to add a Silverlight GUI client to it. Communication works through WCF services at the moment, but I would like to use WCF RIA services instead. </p>
  
  <p>My architecture looks like this:</p>
  
  <p><code>Database - DAL - BL - WCF Services - Silverlight client</code></p>
  
  <p>All business logic is on the server, the Silverlight client is mostly a data viewer.</p>
  
  <p>Questions:</p>
  
  <p>1) Would it make sense to replace the WCF Service (used for communication between client and server) with a WCF RIA Service?</p>
  
  <p>2) Is it possible to have the WCF Service talk to a WCF RIA Service? Like this:</p>
  
  <p><code>Database - DAL - BL - WCF Services - WCF RIA Service - Silverlight client</code></p>
  
  <p>or</p>
  
  <p><code>Database - DAL - BL - WCF Services - Translator - WCF RIA Service - Silverlight client</code></p>
  
  <p>or</p>
  
  <p><code>Database - DAL - BL - WCF RIA Service - Silverlight client</code></p>
  
  <p>All the examples and tutorials for RIA services seem to use them to directly access a database, but what if I want to access a business layer instead? How would I represent the "data objects" on the business layer? And how would I call functions on the server from the client using a RIA service, e.g. to calculate something? </p>