WPF与Silverlight 3.0 [英] WPF vs Silverlight 3.0

查看:65
本文介绍了WPF与Silverlight 3.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Silverlight 3.0 Beta刚刚在拉斯维加斯的Microsoft Mix Conference上宣布。



新Beta的两个功能是3D图形和在外部运行应用程序的功能浏览器的功能,在我看来,这是WPF(Windows Presentation Foundation)先前通过silverlight提供的两个主要功能。



我目前正在评估WPF和Silverlight的功能可能会在我们公司的未来开发活动中使用,并且此公告使我对这两种UI技术的预期方向以及为什么我会选择其中一种感到困惑。



最近是否有人使用WPF实施了新应用程序,如果是,是什么促使您做出这一决定?鉴于已宣布的Silverlight更改,如果您现在做出决定,您的决定会更改吗?如果没有,为什么?



任何建议将不胜感激。

解决方案

我最大的不同发现是异步模型,您必须在Silverlight应用程序中采用

这似乎确实是一种优势(而且可以做到),但是有时确实会使
的生活变得非常困难。



还有一些局限性

在以下情况下,我会推荐Silverlight而不是WPF:


-不需要最佳性能(包括图形)


-可以解决缺少打印支持的问题(将来会出现,我们只是不知道何时)


-不需要摄像头/麦克风支持


-可以容忍异步应用/开发模型


-可以容忍对WCF的限制(目前不支持WS-Security)


-无需在客户端上存储大量数据。


-无需与Office等客户端应用程序直接集成。


-有服务器托管您的应用程序


Silverlight 3.0 beta has just been announced at Microsofts Mix Conference in Las Vegas.

Two features of the new beta are 3D-graphics and the ability to run applications outside of the browser, which to me seemed to be two of the major features that WPF (Windows Presentation Foundation) previously offered over silverlight.

I am currently evaluating WPF and Silverlight for possible use in our companies future development activity, and this announcement has left me confused as to the intended direction of these two UI technologies and why I would choose one over the other.

Has anyone implemented a new application using WPF recently, and if so, what drove you to that decision? Given the announced changes to silverlight, Would your decision have changed had you made it now, and if not, why?

Any advice would be appreciated.

解决方案

The biggest difference I find is the asynchronous model you have to adopt in your Silverlight application. It does seems like an advantage (and it can be), but it does make life very difficult sometimes.

There are also some limitations that can be a real challenge like the absence of print support.

I would recommend Silverlight over WPF when:

- There is no need for best possible performance (graphics included)

- Can get around the absence of print support (it will come, we just don't know when)

- Camera/Microphone support is not needed

- Can tolerate the assync app/development model

- Can tolerate limitations on WCF (no support for WS-Security at this point)

- There is no need to store huge amount of data on the client.

- There is no need to direct integration with client side applications like Office.

- Has a server to host your application

这篇关于WPF与Silverlight 3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆