WPF 与 Silverlight OOB 与 WCF RIA 服务的比较

发布于 2024-10-02 01:45:35 字数 227 浏览 0 评论 0原文

我知道在开始一个大型项目时,任何决策都会涉及其他问题,但我过去的经验是使用基于 SL Web 的应用程序(带有实体框架),我发现 wcf ria 服务可以节省时间,我想知道人们对于桌面应用程序中可能继续使用 wpf 的原因有何看法,因为桌面应用程序必须花费更多的精力来匹配 SL 中提供的 ria 服务。这个项目绝对是一个以数据为中心的商业应用程序。

任何和所有的过度关注和经历都将受到欢迎。

谢谢, 史蒂夫

I know there are other issues involved in any decission when beginning a large project, but my experience in the past has been with SL web based apps (w/ entity framework) where I have found wcf ria services such a time saver, I am wondering what people think about the reasons one might remain with wpf for desktop apps where so much more effort must be expended to match what the ria services provide in SL. This project is definitely a data-centric business app.

Any and all oversvations and experiences would be most welcome.

Thanks,
Steve

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

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

发布评论

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

评论(2

眼波传意 2024-10-09 01:45:35

我可能对你的情况有一些了解,因为我现在面临着做出同样的决定。我在这里写了一篇关于我的经历的博客文章:

http://samuelmueller.com/2010/11/wpf-4-vs-silverlight-4-which-do-you-choose

总而言之,WPF 相对于 silverlight 有一个非常大的优势,尤其是在数据方面以应用程序为中心:

性能。

话虽如此,负面清单相当令人畏惧,并且确实使 WPF 比 Silverlight 更难推销:

  • 不支持 WCF RIA 服务,即使有 SP1
  • 低于标准的验证支持,缺少 INofityDataErrorInfo
  • WPF 工具包实际上已被放弃,而 Silverlight 工具包和主题则非常活跃。
  • 没有流畅的 UI

如果您可以接受其性能,那么 Silverlight 似乎是更高效、更有吸引力的选择,至少在 MS 努力平衡这两个平台之前是这样。

I may have some insight on your situation, since I am faced with making the same decision right now. I wrote up a blog post about my experience here:

http://samuelmueller.com/2010/11/wpf-4-vs-silverlight-4-which-do-you-choose

To summarize, WPF has one very big advantage over silverlight, especially with data-centric apps:

Performance.

With that being said, the list of negatives is quite daunting, and really makes WPF a hard sell over Silverlight:

  • No support for WCF RIA Services, even with SP1
  • Sub-par validation support, with INofityDataErrorInfo missing
  • The WPF toolkit has been practically abandoned, whilst Silverlight toolkit and theming are very much active.
  • No Fluid UI

If you can live with the performance, it seems like Silverlight is the more productive and compelling choice, at least until MS makes some effort into leveling the two platforms.

屋顶上的小猫咪 2024-10-09 01:45:35

问题是,微软一开始似乎开发了WPF,但没能真正保持新鲜感。另一方面,他们正在致力于改进Silverlight,几乎每年都会发布新版本。

与典型的 Windows 窗体相比,我仍然喜欢 WPF,并且发现没有 RIA 服务并不是什么大问题,因为您仍然可以像我在普通 Windows 窗体中使用的方式访问数据库。

The thing is, Microsoft seemed to have developped WPF at the beginning, but failed to really keep it fresh. On the other hand, they are working on improving Silverlight, releasing new version almost every years.

I still like WPF over typical windows forms and find that not having RIA services isn't much of a problem since you can still access databases the way I am used in normal Windows Form.

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