Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between WPF and Silverlight?

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?

like image 436
Nevin Mathai Avatar asked Jan 17 '10 02:01

Nevin Mathai


People also ask

Is WPF used anymore?

However, some industries still rely on WPF concepts and tools like XAML & MVVM to develop futuristic web, mobile, and desktop applications. None of Microsoft's GUI frameworks ever really die. WPF has top-notch performance, with a high level of customization, and if you aim for Windows, both WPF is critical.

What is the difference between WPF and XAML?

WPF uses XAML, which is a language based on XML, to declare the user interface elements. In a simple WPF app, the . xaml file describes the GUI and the code-behind file describes the logic. DirectX is used to draw whatever is described in the .

What is advantage of Silverlight?

Silverlight has a considerable advantage over HTML5 in that 90 to 95 percent of code can be shared with desktop applications. If you have a full-fledged desktop application and a solution to get on the Web, it's easier with the Silverlight model.

Is WPF is good for desktop application?

WPF is a very rich UI framework which is used by developers to build Windows desktop applications. It comes with built-in support for graphics, resources, data binding and much other. It makes use of Extensible Markup Language to define views and it does it in a declarative way.


1 Answers

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

like image 107
DenaliHardtail Avatar answered Sep 18 '22 22:09

DenaliHardtail