WPF WBA(XBAP)与Silverlight的 [英] WPF WBA (XBAP) versus Silverlight

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

问题描述

我期待到创建系统/网站,其中包括一个网站。我想获得WPF的好处,并WBA似乎是这样做的一个很好的途径。另一方面Silverlight是也有好处用于实现这一目标,与该WBA提供了更多的选择和功率比的Silverlight的差。

I'm looking into creating a system / site which includes a website. I would like to get the benefits of WPF, and WBA seems to be a good avenue of doing this. Silverlight on the other hand is also good for accomplishing this goal, with the difference that WBA provides more options and power than Silverlight.

有什么好处/损失,附带使用与WBA Silverlight的?是WBA只能在IE中支持?

What are the benefits / losses that come with using WBA versus Silverlight? Is WBA only supported in IE?

任何有识之士将是非常有益的。

Any insight would be very helpful.

推荐答案

我假定你的意思XBAP(XAML浏览器应用程序)与WBA?

I assume you mean XBAP (XAML Browser Application) with WBA?

Silverlight和XBAP都彼此相似pretty但他们确实有一些重大分歧。其中最大的是最有可能的XBAP上完整的.NET框架上运行,而Silverlight使用CLR和类库的一个简化版的事实。这导致在Silverlight中缺少一些的WPF具有的功能它都可以的XBAP

Silverlight and XBAP are pretty similar to each other but they do have some major differences. The largest of these is most likely the fact that XBAPs run on top of the full .Net framework while Silverlight uses a stripped down version of the CLR and class libraries. This results in Silverlight lacking some of the features that WPF has which are available in XBAPs.

另外值得理解,XBAP的技术上ClickOnce应用程序,因此它们被安装到用户的计算机。这会自动发生,用户并不一定明白 - 但至少对我来说,如果我看到了一个XBAP负载从随机的网站,我将最有可能取消它,去到另一个网站

Also it is worth understanding that XBAPs are technically ClickOnce applications and as such they are installed to the user's computer. This happens automatically and the user doesn't necessarily understand that - but at least for me, if I saw a XBAP loading from a random web site, I would most likely cancel it and go to another site.

XBAP的也需要IE或Firefox和.NET Framework它们是为建造。 Silverlight的只需要Silverlight的播放器,可用于IE,Firefox和Safari浏览器和适用于Windows和OSX和比下载大小方面完整的.NET框架小得多。

XBAPs also require IE or Firefox and the .Net framework they are built for. Silverlight requires only the Silverlight player which is available for IE, Firefox and Safari and works on Windows and OSX and is much smaller than the full .Net framework in terms of download size.

这说的,我preFER XBAP的,如果我知道的限制是不是一个问题。如果我是开发企业内部网使用的应用程序,我会用XBAP去,因为它提供了更灵活的框架。如果应用程序是在互联网上进行部署,我会使用Silverlight将达到尽可能多的用户成为可能。

This said, I prefer XBAPs if I know that the limitations are not an issue. If I was developing an application for intranet use, I'd go with a XBAP as it provides more versatile framework. If the application was to be deployed in the internet, I'd use Silverlight to reach as many users as possible.

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

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