Silverlight的,WPF Web应用程序(XBAP)或单击一次?优点和缺点 [英] Silverlight, Wpf Web App (xbap) or Click Once? Pros and Cons

查看:172
本文介绍了Silverlight的,WPF Web应用程序(XBAP)或单击一次?优点和缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开始一个新的项目,我想,以决定该WPF式的开发/部署策略,我们应该去。在我们的例子中,我们正在寻找一个相当复杂的业务应用程序,将使用人100秒(而不是1000),所以我倾向于一个点击一次应用程序。我的老板喜欢的Silverlight应用程序,因为它意味着更容易部署的想法。那么哪种方式,我们应该跳?

We are starting a new project and I'm trying to decide which of the Wpf-esque develop/deploy strategies we should go with. In our case we are looking at quite a complex business app that will be used by 100s (not 1000s) of people, So I'm leaning towards a click-once app. My boss likes the idea of a Silverlight app as it means easier deployment. So which way should we jump?

答案当然是看情况。 那么,什么是每一个优点和缺点?

The answer is, of course, "it depends". So what are the pros and cons of each?

我将开始滚动的球(修改增加了来自的阿图尔·卡瓦略):

I'll start the ball rolling (Edit Added in some answers from artur carvalho):


Silverlight的

Silverlight

  • 赞成

跨浏览器
不需要完整的框架。
更好地控制用户。如果您的用户登录,你不必担心使用激活码或类似的东西。
它适用于Windows和Mac。
您可以轻松地更新所有的用户应用程序。

Cross browser
Doesn't require full framework.
Better control of users. If your users login, you dont have to worry with activation keys or similar stuff.
It works on Windows and Mac.
You can update all your users apps easily.

  • 缺点

不能与客户机的文件系统等
互动 全WPF相比,具有更小的功能(任何人都得到了很好的资源,它记录了分歧?)
单一窗口
单人版

Can't interact with client's file system etc
Has less functionality compared with full Wpf (anyone got a good resource that documents differences?)
Single window
Single version


WPF Web应用程序(XBAP)

Wpf Web App (xbap)

  • 赞成

全WPF。

  • 缺点

一个浏览器
需要完整的框架
无法与客户端的文件系统等
互动 单一窗口
单人版

Single browser
Requires full framework
Can't interact with client's file system etc
Single window
Single version


WPF点击一次

  • 赞成

完整WPF
可以脱机工作
多个窗口
多个版本(CON?)
更好地访问计算机 没有停机维护

Full Wpf
Can work offline
Multiple windows
Multiple versions (con?)
Better access to low level parts of the computer
No downtime for maintenance

  • 缺点

一个浏览器
需要完整的框架
的(?)难以安装。

Single browser
Requires full framework
Slightly(?) harder to install.

推荐答案

首先,我会评估Web客户端(理想情况下MVC + jQuery的)是否能够这样做的工作......

First, I would evaluate whether a web client (ideally MVC+jQuery) can't do the job...

假设一个完整的客户端是必要的:

Assuming a full client is warranted:

如果它是一个商业应用程序,需要一个客户端,我会倾向于去与完整的框架和ClickOnce的;这里的主要区别(重新部署)是客户端必须安装的框架 - 但过去认为,ClickOnce部署是很痛苦的自由。事实上,构建的ClickOnce清单是多少的更容易的比的Silverlight等,因为IDE会做几乎所有的给你;你只需要主机上的文件的地方(可能是一个Web URL;可以是网络UNC)。

If it is a business app that demands a client, I would tend to go with the full framework and ClickOnce; the main difference here (re deployment) is that the client must have the framework installed - but past that, ClickOnce deployment is very pain free. Actually, building a ClickOnce manifest is much easier than Silverlight etc, since the IDE will do almost all of it for you; you just have to host the files somewhere (could be a web URL; could be a network UNC).

这让你的的更多的控制权(和电源)在客户端,还有一个更大的范围内现有的资源使用(例如,如果你需要,你可以使用一些遗留的winform $ c在WPF表面$ C)。而需要完整的框架也是最大的好处之一:有完整的框架

This gives you much more control (and power) at the client, as well as a far greater range of existing resources to use (for example, if you need, you can use some legacy winform code on the WPF surface). The "requires full framework" is also one of the largest benefits: "has full framework".

您应该也可能考虑3.5客户端配置文件设置;不知道有多宽-S $ P $垫,这是在现实......但值得了解。

You should also perhaps consider the 3.5 "client profile" setup; not sure how wide-spread this is in reality... but worth knowing about.

这篇关于Silverlight的,WPF Web应用程序(XBAP)或单击一次?优点和缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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