Workshop
Quiz
-
What is the benefit of using a markup language for designing a user interface?
-
What operating systems does WPF currently support?
-
How does WPF differ from Silverlight, and in what ways are they similar?
-
Aside from Visual Studio 2008, what is another tool from Microsoft that WPF developers should become familiar with?
Answers
-
Using a markup language such as XAML, or even HTML, is beneficial because it provides a common medium for both designers and developers. Additionally, the markup language allows for a declarative approach for building applications, which is often easier to construct and maintain.
-
WPF is currently available on Windows XP and Windows Vista.
-
WPF is part of the .NET Framework, and it is intended for building graphical user interfaces for desktop applications. Silverlight targets Rich Internet Applications that are hosted in a web browser. Silverlight's runtime is different from the standard .NET runtime. Both Silverlight and WPF use XAML for defining interfaces. Microsoft has intentionally made Silverlight as close to WPF as possible to lower the barrier for developers and designers.
-
WPF developers should be at least somewhat familiar with Microsoft's Expression Blend. The application is primarily intended for designers, but can often be useful for developers as well. It uses the same file formats as Visual Studio, so that solutions and projects are interchangeable between the two applications.