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了。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。