19.3.6 Recommended project structures (建议的项目结构)
We offer the following recommendations to keep matters simple:
If you are building relatively simple applications, stick with using a RIA Link between the Silverlight client application and the Web application. Don’t bother using the new .NET RIA Services class libraries.
However, if your application involves multiple domain services or Silverlight applications, and you are thinking about reuse, consider using .NET RIA class libraries and remove the RIA Link between the client and Web application projects.
我们的如下建议可以让事情变得相对简单:
如果在创建相当小规模的应用程序时,建议在Silverlight客户端和Web端使用RIA Link的方式,不要使用.NET RIA Service Class Library的复杂架构。
但是,如果你的应用程序使用多个Domain Service或Silverlight Application,并且你想重用。那么你可以考虑使用.NET RIA Class Library的多层结构,并且,这时就不应该使用RIA Link的方式,你应该在Client端和WebApplication项目之间移除RIALink了。