WCF 数据服务对于 Silverlight 来说已经死了吗?

发布于 2024-10-05 23:04:19 字数 495 浏览 0 评论 0原文

WCF RIA 服务几天前刚刚更新。 WCF RIA 服务具有复杂的对象、TT 模板等。WCF

RIA 服务(默认情况下)具有快速且紧凑的二进制传输。 WCF 数据服务具有臃肿的 XML AtomPub 格式。

Microsoft 是否会放弃 Silverlight 的 WCF 数据服务而转而使用 WCF RIA 服务?

就我个人而言,我更喜欢 WCF 数据服务,因为它的简单性、开放性、跨平台性和正常(按需)代理(重新)生成(WCF RIA 服务会在每次构建时重新生成代理,这会导致 Silverlight 重新编译)项目,什么导致新的 xap 打包和重新部署,什么是可用性杀手)。

我们是否会看到 WCF 数据服务支持 xml-msbin 格式?

是否可以使用非 Microsoft DataContext,它不会将 Nullable 字段包装在 where 子句中,从而使 SQL 变得臃肿、丑陋且缓慢?

这些问题让我觉得,WCF 数据服务没有更多的优先权......

WCF RIA Services just got updated few days ago. WCF RIA services got complex objects, TT templating, etc.

WCF RIA Services have (by default) fast and compact binary transport. WCF Data Services have bloated XML AtomPub format.

Is Microsoft abandoning WCF Data Services for Silverlight in favor of WCF RIA services?

Personally, I like WCF Data Services more, because of the simplicity, openness, cross-platform, and normal (on demand) proxy (re)generation (WCF RIA services regenerate your proxies every time you do build, what leads to recompilation of Silverlight project, what leads to new xap packaging and redeployment, what is usability killer).

Will we ever see support of xml-msbin format for WCF Data Services?

Will it be ever possible to use non-Microsoft DataContext, which will not wrap Nullable fields in where clause, making SQL bloat, ugly and slow?

Those issues make me feel, like WCF Data Services have no more priority...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里泪两行 2024-10-12 23:04:19

我认为 WCF RIA 服务不应与 OData 或 WCF 数据服务混淆。应根据需要考虑数据服务/OData 选项。如果您的 Silverlight 应用程序不会向您的任何合作伙伴或第三方公开数据,那么选择 WCF 数据服务就没有意义。相反,使用 WCF RIA 服务会更好,因为它提供了丰富的内容。如果您正在寻找一款不仅适合您和您的 Intranet 或 Internet 的应用程序,而且您希望以平台中立的方式公开数据,那么您就需要考虑 OData 而不是 WCF RIA。

简而言之,OData 正在打破数据孤岛,并以独立于平台的方式公开您的数据。无论是Java、PHP、obj-c等等,他们都知道如何使用OData,因为标准的XML + ATOM/ATOMPUB格式。

希望我清楚地表达了我的观点:)

I don't think WCF RIA services should be confused with OData or WCF Data Services. Data Services/OData options should be considered based on the need. If you have a Silverlight application which will not be exposing data to any of your partner or third party then it doesn't make sense to go for WCF Data Services. Instead you will be better off with WCF RIA Services because of the richness it provides. Whereas you are looking for an application which not only caters to you and your intranet or internet PLUS you would like to expose the data to a platform neutral way - that's when you need to think about OData instead of WCF RIA.

In short OData is breaking the data silos and exposing your data in a platform independent way. Be it Java, PHP, obj-c, etc., etc., they all know how to consume OData because of the standard XML + ATOM/ATOMPUB format.

Hope I made my point clear :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文