Tuesday, December 16, 2008

Getting Started with WPF

Are you new to the world of WPF..? Well, then you can understand and get started with the following Webcast.


Hope you like it..!

Read more...

Sunday, December 7, 2008

Architectural Design Principles of WPF

The design principles behind Windows Presentation Foundation can be categorized as follows:

Integration: Windows Presentation Foundation offers a unified API that spans the services identified in Table 1. Developers today are faced with a myriad choice of disparate technologies and APIs, depending on whether they are targeting 2D graphics (GDI or GDI+), user interface (USER32 or Windows Forms), media (DirectShow), or 3D (Direct3D or OpenGL). Windows Presentation Foundation provides a single model that is orthogonal across all these services and allows seamless integration of content within a single application. You can use the same constructs for animation, data binding and styling, regardless of whether you are targeting 2D, 3D or text content.

Vector graphics: As described in the introduction, Windows Presentation Foundation takes full advantage of the powerful Graphical Processing Units that are part of modern PC systems. At its heart, the composition engine is vector-based, allowing for scaling of all output to match the resolution of a specific machine. The rendering architecture uses Direct3D for all output: on video cards that implement DirectX 7 or later in hardware, Windows Presentation Foundation renders output using the GPU wherever possible. In situations where hardware rendering cannot be used, software rendering is available as a fallback. Lastly, a floating-point logical pixel system and 32-bit ARGB color support provide a rich high-fidelity experience that anticipates future technology needs, such as high-DPI displays.

Declarative programming: Windows Presentation Foundation introduces XAML (eXtensible Application Markup Language), an XML-based language for instantiating and populating nested object hierarchies. While XAML isn't exclusively tied to Windows Presentation Foundation, it is inherently suitable for tasks such as UI definition and construction. The design of XAML allows applications to parse and manipulate UI logic at run-time for dynamic workflow scenarios. Importantly, the XAML / code-behind model embodied in Windows Presentation Foundation allows designers and developers to work collaboratively on client application design and development, using tools such as Expression as well as third-party specialist tools including ZAM 3D and Mobiform Aurora.

Easy deployment: With support for both standalone applications and Web-browser applications, Windows Presentation Foundation offers the best of both deployment models. Web-browser applications run from within Internet Explorer, either occupying the entire window or within an inline frame. They offer the ease of deployment for which Web applications are famed, as well as operating within a partial trust sandbox that protects the client machine against malicious applications. Yet they can still take advantage of the local client hardware and use 3D and media services for the richest Web experience available today. On the other hand, standalone applications are locally installed via ClickOnce or MSI technologies and offer full access to the underlying platform.

Document lifecycle: Windows Presentation Foundation introduces a new set of document and print technologies. Applications that need to persist data to a local store can use the Open Packaging Conventions, a ZIP-based packaging convention shared with Office 2007 that supports core properties and custom metadata, digital signatures and rights management functionality. For applications that want to share documents for collaboration across multiple machines, even without the application installed, the XML Paper Specification allows visuals to be fixed in a printable, portable format.

Read more...

WPF Architecture

image

ARCHITECTURE: This diagram shows the basic architecture for WPF. Notice all the different media types (in yellow) that are handled by WPF: Vectors, Bitmaps, 3D, Audio and Video, Text and Effects! Second, notice how the animation capabilities of WPF spans across all the media types, allowing you to animate any kind of content. The WPF Composition Engine (in black) is one of the revolutionary features of WPF. This engine provides capability of having live content inside of another content. This means that you can have a 3D object rotating inside a Button control and furthermore you can have a video projected over the surface of the 3D object! This tree structure and nesting capability is available for all content and every control that WPF provides.

WPF is not only about rich user interfaces but also about high fidelity information, connection and data. Controls, Layout and Databinding are just some of the examples of this power. The XPS format is a rich document definition that allows us to enjoy the best of WPF in a document. In summary, WPF represents an evolution in terms of richness, interactivity as well as information and data.

Read more...

Windows Presentation Foundation (WPF)

The .NET Framework 3.0 introduced a new way of creating Desktop applications with WPF code named ‘Avalon’. WPF delivers applications with rich multimedia support and high interactivity. WPF like Silverlight is based on XAML file for UI design, with the Business logic being placed in the code behind file.

Read more...

Silverlight 2.0

The Big release of Silverlight 2.0 RTW was made in 25th October, 2008. Early the Beta 1 and Beta 2 were made during march,2008 and July, 2008 respectively. Silverlight 2.0 included the common controls like buttons, textboxes, layout controls like Grid, canvas, stack panel etc., along with the data controls like Data grid, listbox etc., Silverlight 2.0 has rich networking support for calling REST, RSS, SOAP and standard HTTP access. It provides cross domain network access and build in socket networking. The Library is enriched with Linq and Linq to xml. It provides revolutionary video streaming, on the whole it is sure that it will take web to the next generation.

Read more...

Silverlight 1.1

Silverlight 1.1 was released with the Common Language Runtime (CLR) of .NET framework 3.0., It enabled the developers to use any .NET language such as C# or VB.NET. It also supports Ruby and Iron python. Silverlight 1.1 has flexible registered event handlers in addition to the business logic being placed in the Code behind file. It produces a Xap file as output which could be used as a single package file during hosting.

Silverlight 1.1 does not require an ASP.NET server meaning that it could be hosted in PHP server too.

Read more...

Saturday, December 6, 2008

Silverlight 1.0

Silverlight 1.0 CTP was released by December 2006 and the RTW was released by 5th of September, 2007. Silverlight 1.0 was made such that it could be programmed with JavaScript and it the main concentration was on the interactivity and optional streaming.

Silverlight 1.0 has build in support for playing VC-1 & WMV videos and MP3 & WMA audio formats. Silverlight enables the creation of interactive User Interface with animation and Vector graphics.

Read more...

What is Silverlight?

Silverlight is a Cross platform and Cross Browser plugin that enables building and delivering Rich Internet Applications (RIA) with enhanced Media support.

It takes only a few seconds to install Silverlight Runtime as you need it to view Silverlight content. Separate runtimes for Windows & Mac are available.

Read more...