WCF 数据服务与 WCF RIA 服务
我需要评估 WCF 数据服务 与 WCF RIA 服务 之间的 SOA 架构。以下是我的一些参数:
- 多个客户端(HTML5/iOS/Android/Windows 8 Metro/Windows Phone 7)
- 断开连接和离线操作
- 验证引擎
- 性能
- 网络数据压缩
- 支持云环境
谁能帮助我收集一些数据进行评估。另外,还有其他好的 SOA 实施方案吗?
我知道 DevForce。
I need to evaluate SOA architecture between WCF Data Services vs WCF RIA Services. Following are some of my parameters:
- Multiple Client (HTML5/iOS/Android/Windows 8 Metro/Windows Phone 7)
- Disconnected and offline operation
- Validation engine
- Performance
- Network data compression
- Support for Cloud Environment
Could anyone help me to gather some data for my evaluation. Also, is there any other good option available for SOA implementation.
I am aware of DevForce.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我非常熟悉 RIA 服务,并且知道它的不足之处。我对数据服务和 DevForce 知之甚少,但我知道 DevForce 宣称在那些令我烦恼的领域比 RIA 服务更好,即:
在某些情况下,对 RIA 服务源进行一些欺骗。)
透明地处理到桥接表的转换。 (编辑:这是为 Open Ria 服务计划的)
整体被拒绝(无论如何都是开箱即用的)。这通常会导致一个应用程序
许多上下文和奇怪的复制操作来传输实体。 RIAServicesContrib
项目对此有所帮助。
通过数据绑定)很难。
实体,很难。
特别是,它不是
可以取消已安排的任务而不取消整个上下文。那有
在我想使用它们的大多数情况下,它们几乎毫无用处。
这样做太多又太少。您也可以通过编程方式获取所有内容,但是
使用这个 xaml 助手可以快速连接某些东西。
(编辑:这是为 Open Ria Services 计划的 - 特别是,它应该能够为 BreezeJS 提供服务)
由于 Data Services 较旧(我认为),我不想仔细研究它。然而,我最近浏览了 DevForce 的功能列表,我相信这听起来很令人兴奋,尽管我不能从经验中对此说什么。
(编辑:我发现 Colin Blair 对 RIA 服务和 WCF 进行了非常有见地的比较 此处。
)架构师在此处将他的产品与 RIA 服务进行了比较。我阐述了他的一些观点,但不是全部。
总而言之,我可以说 RIA 服务显然比原始 WCF 更好,但也很明显必须有比这更好的东西。我希望那是 DevForce。
I'm intimately familiar with RIA Services and know where it falls short. I know little about data services and DevForce, but I know that DevForces advertises to be better than RIA Services in exactly those areas where it annoys me, which is:
do some trickery to group on a RIA Services source in some cases.)
handle a translation to a bridge table transparently. (EDIT: this is planned for Open Ria Services)
rejected as a whole (out-of-the-box anyway). That usually leads to an application with
many contexts and weird copy operations to transfer entities. The RIAServicesContrib
project helps with that.
through data binding) are hard.
entity, are hard.
particular, it's not
possible to cancel one that is scheduled without cancelling the whole context. That has
made them almost useless in most cases where I wanted to use them.
that does too much and too little. You can fetch everything programatically too, but
some things are really quick to wire up with this xaml helper.
(EDIT: this is planned for Open Ria Services - in particular, it should be able to serve BreezeJS)
Since Data Services is older (I think), I didn't care to ever look closely at it. I did however recently skim over the feature list of DevForce and I believe that sounds exciting, although I can't say anything about it from experience.
(EDIT: I found a very knowledgeable comparison of RIA Services and WCF by Colin Blair here.)
The architect compares his product to RIA Services here. I covered some of his points, but not all.
Altogether I can say that RIA Services is clearly better than raw WCF, but it's also clear there has to be something better than that. I hope that's DevForce.
两者都通过 OData 公开实体,但 RIA 服务专门针对:
WCF 数据服务更加强大且可配置。最大的区别 (IMO) 是 RIA 服务需要每个实体一种主机类型,而 WCF 数据服务可以自动托管整个内容(具有多个 IQueryable 属性的类型)。
也就是说,这两种实现都相当不成熟(同样仅在 IMO 中),并且没有经过深思熟虑或实施。 ...您可能会更好地使用 WebGet/WebInvoke 属性托管的传统 WCF 操作...或使用 WCF Web API。
我不会仅仅选择 DevForce,因为它主要针对 Silverlight 实现(如果我没记错的话)。也就是说,它们的包非常酷,并且比 RIA 或 WCF 数据服务功能更完整。
Both expose entities via OData, but RIA Services is specifically targeted to:
WCF Data Services are far more powerful and configurable. The biggest difference (IMO) is that RIA services require one host type per entity, whereas WCF Data Services can automatically host an entire content (a type with multiple
IQueryable
properties).That said, both implementations are pretty half baked (again IMO only) and not really well thought out or implemented. ...You may be better off with traditional WCF operations hosted with WebGet/WebInvoke attributes...or using the WCF Web API.
I wouldn't go with DevForce only because it mainly really target Silverlight implementations (if I recall correctly). That said, they're package is pretty cool and far more feature complete than RIA or WCF Data Services.