WPF 和 Silverlight 有什么区别? [英] What is the difference between WPF and Silverlight?

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

问题描述

WPF 和 Silverlight 有什么区别?

What is the difference between WPF and Silverlight?

它是否与桌面应用程序与 Web 应用程序中的 winform 与 asp 相同,还是存在重叠?

Is it just the same as winforms vs asp as in desktop apps versus web app or is there an overlap?

推荐答案

Silverlight 是 WPF 中功能的一个子集.WPF 是桌面,silverlight 是跨平台的 Web 应用程序.Silverlight 可以在功能有限的浏览器外运行.如果您想要完整的 WPF 并访问 WPF 可以在客户端访问的所有内容,则不能在浏览器外执行 Silverlight - 只需构建一个 WPF 应用程序即可.

Silverlight is a subset of the functionality in WPF. WPF is desktops, silverlight is cross-platform web apps. Silverlight can run out-of-browser with limited functionality. if you want full blown WPF and access to everything WPF can access on the client, you can't do silverlight out-of-browser - just build a WPF app.

WPF 和 Silverlight 在其核心使用 XAML 来描述布局.有一个 MS 文档强调了两者之间的差异.我只是现在找不到.

WPF and silverlight use XAML at its core to describe the layout. There is a MS document that highlights the differences between the two. I just can't find it right now.

WPF 并没有像一些博主所报道的那样消亡.由于其 Web 和跨平台功能,SL 能否真正包含其大哥 WPF 的 100% 功能值得怀疑.WPF 包含一些非常特定于 Windows 的功能.

WPF is not dead like some bloggers are reporting. Due to its web and cross-platform capabilities it is doubtful SL will ever truly contain 100% of the functionality of its bigger brother WPF. WPF includes some very Windows-specific functionality.

找到上面提到的文档.这里是...

Found the document mentioned above. Here it is...

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

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