これによく似た問題があります。
サーバー上で実行されている既存のソフトウェア (データおよびビジネス レイヤー) があり、Silverlight GUI クライアントをそれに追加したいと考えています。現時点では通信は WCF サービスを介して機能しますが、代わりに WCF RIA サービスを使用したいと考えています。
私のアーキテクチャは次のようになります。
Database - DAL - BL - WCF Services - Silverlight client
すべてのビジネス ロジックはサーバー上にあり、Silverlight クライアントはほとんどがデータ ビューアーです。
質問:
1) WCF サービス (クライアントとサーバー間の通信に使用) を WCF RIA サービスに置き換えることは理にかなっていますか?
2) WCF サービスを WCF RIA サービスと通信させることは可能ですか? このような:
Database - DAL - BL - WCF Services - WCF RIA Service - Silverlight client
また
Database - DAL - BL - WCF Services - Translator - WCF RIA Service - Silverlight client
また
Database - DAL - BL - WCF RIA Service - Silverlight client
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?