Wednesday, November 3, 2010

The difference between WPF and Microsoft Silverlight

Windows Presentation Foundation (WPF) and Microsoft Silverlight both can be used to develop rich Internet applications based on XAML and.NET frame. But depending on how you want your project to get fit, you must choose between two or integrate them.
      An overview
WFP has given developers a single programming model that has a new graphical user interface (GUI) framework which replaces the old "Windows Forms" and Win32 API. Its basis vectors and Graphics Processing Unit (GPU) is enabled design framework (DirectX) has the ability to create richer interfaces with media and documentation that the Windows Forms. Using a declarative language XAML-based graphics statement based vectors capable of scale and take advantage of hardware acceleration, WPF can make a new level of user experience. You get a consistent programming model for developing applications with a clear separation between business logic and user interface.

Implementing Microsoft Silverlight cross-browser, cross-platform framework of the.NET is small and lightweight hosting technology to produce the next generation of rich interactive media and Internet content and the development of a web browser hosted on Rich Internet Application (RIA) that could combine data and services from various sources. It will also create applications to enhance the experience for the end user typically quite significant when compared with traditional web applications.

What is the difference?

While the exploits full.NET WPF framework and make the common language runtime (CLR) is based on Silverlight only a subset of XAML and implementation framework full.NET browser-hosted version of the CLR. Therefore, a large number of basic strategies based WPF applications fail in Silverlight. It supports some of the WPF component primitives and a single type of scheme. So if an existing application to be ported to WPF Silverlight, it would mean rewriting all the code related to user interface.

WPF applications will work as an independent desktop program or can be hosted on a website an embedded object (Windows only). However, browsers are based on WPF applications (in Internet Explorer and Firefox in Windows) can no longer use the full functionality that will not happen, and desktop applications. On the contrary, the introduction of Silverlight applications can be made more platforms (Windows, OS X and Linux) and multiple browsers. Small and lightweight applications, which consume less infrastructure.

Conclusion


Although built on the tops of the various run-time stack, WPF and Silverlight share many common characteristics and features. Silverlight WPF embed web controls provide a greater focus on the object model of the user interface and less animation. The simple fact has had a number of 3D features and widgets are missing. Not many of these missing parts of Silverlight is a GUI. Many of the features missing from the WPF framework Silverlight and.NET cause subtle differences that must be considered when moving an application between Silverlight and WPF or when creating an application and the goals of WPF and Silverlight.

No comments:

Post a Comment