What is the difference between WPF and Silverlight?

前端 未结 3 455
忘掉有多难
忘掉有多难 2021-01-18 11:59

What is the difference between WPF and Silverlight?

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

3条回答
  •  自闭症患者
    2021-01-18 12:32

    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 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 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...

提交回复
热议问题