开发者

What is relation between WPF and Silverlight

These both are same or different ?

How to develop silverlight in visual studio 2008 ?

UPDATE Pleas开发者_Python百科e also answer How to develop silverlight application in visual studio 2008 ?


Both WPF and Silverlight uses what is called XAML to define what the interface / GUI should look like. WPF and Silverlight are both Presentation Layers used on different areas.

WPF is used for Windows based applications whereas Silverlight is used for Web based applications.

Read this blog post about "When should I use WPF vs Silverlight?" over at MSDN.


You can think about Silverlight like a subset of WPF, but there is one main difference. WPF uses full .Net Framework and Silverlight uses different dlls (so you can't use all classes from .Net framework in SL).

Of course Silverlight is a presentation technology that you use to create browser base application (SL can be also an out of browser application) and WPF is used to create windows applications.


Silverlight's original code name was WPF/E with the E standing for "Everywhere". That should help understand the origin of it.

It was designed a a reduced and portable version of WPF, but now both seem to diverge a bit. Here is a good article on how they diverge: WPF Compatibility

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜