This is formerly known as the code named "Avalon,"
a graphical feature in Framework 3.0 that makes easy to build next generation
web applications with the help of rich User Interface (UI), documents and
media. This is used to display more advanced graphics that helps a developer to
improve his/her designing skills using programming skills, which would be quite
challenging. We developers can produce outstanding user interfaces using
multimedia and document services in WPF. We can also make use of vector
graphics, user interface, 2D and 3D drawing, fixed and adaptive documents,
typography, raster graphics, animation, data binding, audio, video and develop
graphic/animation through declarative programming. WPF allows developers as
well as designers to collaborate and develop awesome visual user interfaces. Here
are the two different developer environments that are used to make developer
and designer work together.
1.
Microsoft Visual Studio
2.
Microsoft Expression Interactive Designer
The language that is used to develop application user
interfaces in WPF is called XAML (Extensible Application Markup Language). XAML
is based on XML (Extensible Markup Language). Separation of model and view is
possible in XAML by placing design related information in FileName.xaml file
and business logic is placed in FileName.xaml.cs file.
Core Components
The major components of WPF are:
1. Presentation Framework
2. Presentation Core
3. MILCore (Media Integration Layer)
4. DirectX
Presentation Framework and Presentation core are written in
managed code. The DirectX engine is responsible for displaying. MILCore is
written in unmanaged code in order to enable tight integration with DirectX.
MILCore (MILCore.dll) also consists of a composition engine which is
responsible for performance reasons.
Microsoft Silverlight
WPF comes with its subset Microsoft Silverlight formerly
named as Windows Presentation Foundation Everywhere (WPF/E) and is a subset of
WPF which depends on XAML and JavaScript. Silverlight is a cross-browser,
cross-platform plug-in for delivering the next generation of .NET based media
experiences for the Web and mobile applications. Silverlight offers a flexible
programming model that supports AJAX, VB, C#, Python, and Ruby, and integrates
with existing Web applications. It is lightweight, just 1 MB download and pretty
fast. We can play many videos simultaneously without stuttering or dropping
frames. No doubt WPF is next-generation graphics API. More explanation on
Silverlight is out of the scope of this article. For more details on
Silverlight, visit http://www.microsoft.com/silverlight.