简体   繁体   English

WPF 和 Silverlight 应用程序有什么区别?

[英]What is the difference between WPF and Silverlight application?

What is the difference between WPF and Silverlight application? WPF 和 Silverlight 应用程序有什么区别? Are they the same?他们是一样的吗?

WPF is based off of the desktop CLR which is the full version of the CLR. WPF 基于桌面 CLR,它是 CLR 的完整版本。

Silverlight is based on a much smaller and more compact CLR which provides a great experience but does not have the full breadth of CLR features. Silverlight 基于更小、更紧凑的 CLR,它提供了出色的体验,但没有完整的 CLR 功能。 It also has a much smaller version of the BCL.它还有一个小得多的 BCL 版本。

WPF is essentially the replacement to Winforms in that it is a desktop application platform built on the.Net (3+) platform. WPF 本质上是 Winforms 的替代品,因为它是一个基于 .Net(3+)平台的桌面应用平台。

Silverlight represents a subset of WPF that is delivered through a browser plug-in, much like Flash/Flex. Silverlight 代表 WPF 的一个子集,它通过一个浏览器插件交付,很像 Flash/Flex。

Silverlight is a subset of WPF. Silverlight 是 WPF 的子集。 Once it was known as WPF/E (WPF everywhere).曾经它被称为 WPF/E(WPF 无处不在)。 In fact, the base framework is similar, but not the same.事实上,基本框架是相似的,但并不相同。

See this for further information: Silverlight "WPF/E" first steps: Getting started with simple analog clock, Introduction - What is WPF/E?有关更多信息,请参阅: Silverlight“WPF/E”第一步:简单模拟时钟入门,简介 - 什么是 WPF/E?

Silverlight is Microsoft's latest development platform for building next-generation Web client applications (WPF) is Microsoft'slatest development platform forbuilding next-generation Windows client applications Silverlight是微软用于构建下一代客户端应用程序的最新开发平台

Silverlight is generally considered to be a subset of WPF, and is a XAML WPF is generally considered to be a subset of .NET Framework Silverlight is generally considered to be a subset of WPF, and is a XAML WPF is generally considered to be a subset of .NET Framework

Silverlight Support Cross OS, cross browser, cross device WPF for Windows client users. Silverlight 支持跨操作系统、跨浏览器、跨设备 WPF 适用于 Windows 客户端用户。

in order to run Silverlight applications at client machines, we need to install Silverlight software on the client machine once WPF, on the other hand, does notsupport any plug-in mechanism;instead, we need to install a completed WPF client application in order to run Silverlight applications at client machines, we need to install Silverlight software on the client machine once WPF, on the other hand, does notsupport any plug-in mechanism;instead, we need to install a completed WPF client application

Silverlight applications are hosted within a webserver and a web page. Silverlight 应用程序托管在网络服务器和 web 页面中。 WPF applications can be deployed as standalone applications, WPF 应用程序可以部署为独立应用程序,

Silverlight (codenamed WPF/E) is a cross-platform, cross-browser, browser plugin which contains WPF-based technology (including XAML)[17] that provides features such as video, vector graphics, and animations to multiple operating systems including Windows Vista, Windows XP, and Mac OS X, with Microsoft sanctioned 3rd party developers working ports for Linux distributions.[18] Silverlight(代号 WPF/E)是一个跨平台、跨浏览器的浏览器插件,包含基于 WPF 的技术(包括 XAML)[17],可为多个操作系统提供视频、矢量图形和动画等功能,包括 Windows Vista、Windows XP 和 Mac OS X,以及 Microsoft 认可的第 3 方开发人员为 Linux 发行版工作的端口。[18] Specifically, it is currently provided as an add-on for Mozilla Firefox, Internet Explorer 6 and above, and Apple Safari.具体来说,它目前作为 Mozilla Firefox、Internet Explorer 6 及更高版本和 Apple Safari 的插件提供。 Silverlight and WPF only share the XAML presentation layer. Silverlight 和 WPF 仅共享 XAML 表示层。

WIKI维基

Silverlight is a subset of WPF and therefore has fewer features but is more portable. Silverlight 是 WPF 的子集,因此功能较少但更便携。 WPF can be ran in both a browser or as a WinForms style application in Windows while Silverlight can only be ran in a browser. WPF 可以在浏览器中运行,也可以在 Windows 中作为 WinForms 样式的应用程序运行,而 Silverlight 只能在浏览器中运行。 WPF is intended to run on Windows systems while Silverlight runs on Windows or Mac, also Linux via Moonlight. WPF is intended to run on Windows systems while Silverlight runs on Windows or Mac, also Linux via Moonlight.

If confused on when to use each, I found a useful blog better explaining this: http://blogs.msdn.com/b/jennifer/archive/2008/05/06/when-should-i-use-wpf-vs-silverlight.aspx如果对何时使用每个人感到困惑,我发现一个有用的博客可以更好地解释这一点: http://blogs.msdn.com/b/jennifer/archive/2008/05/06/when-should-i-use-wpf-vs -silverlight.aspx

wpf is window application and Silverlight is web application wpf 是 window 应用程序和 Silverlight 是 web 应用程序

A detailed comparison can be found here: http://wpfslguidance.codeplex.com/详细比较可以在这里找到: http://wpfslguidance.codeplex.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Silverlight / WPF中的Control和ContentControl有什么区别? - What is the difference between Control and ContentControl in Silverlight/WPF? 在Silverlight和WPF中使用Web服务之间的区别 - Difference between using web services with Silverlight and WPF WPF应用程序中资源和内容之间的区别是什么 - What's the difference between Resource and Content in a WPF application WPF中的WPF命令和事件有什么区别? - What is the difference between WPF Command and Event in WPF? _Application和Application之间有什么区别 - What is the difference between _Application and Application WPF中的StaticResources和DynamicResources有什么区别? - What is the difference between StaticResources and DynamicResources in WPF? WPF:Content和DataContext属性之间有什么区别? - WPF: What is the difference between the Content and DataContext properties? Silverlight 2中DLR语言和C#之间的速度差异是什么? - What is the difference in speed between the DLR languages and C# in Silverlight 2? Windows服务和常规应用程序有什么区别? - What is the difference between a windows service and a regular application? BufferedStream 和 MemoryStream 在应用方面有什么区别? - What is the difference between BufferedStream and MemoryStream in terms of application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM