WPF 与 Silverlight OOB 与 WCF RIA 服务的比较
我知道在开始一个大型项目时,任何决策都会涉及其他问题,但我过去的经验是使用基于 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我可能对你的情况有一些了解,因为我现在面临着做出同样的决定。我在这里写了一篇关于我的经历的博客文章:
http://samuelmueller.com/2010/11/wpf-4-vs-silverlight-4-which-do-you-choose
总而言之,WPF 相对于 silverlight 有一个非常大的优势,尤其是在数据方面以应用程序为中心:
性能。
话虽如此,负面清单相当令人畏惧,并且确实使 WPF 比 Silverlight 更难推销:
如果您可以接受其性能,那么 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:
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.
问题是,微软一开始似乎开发了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.