WCF_.NET_RIA_Services 摘要: Recommended project structures

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了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值