Understanding XAML

In 2006, Microsoft released WPF, which was the first technology to use XAML. It is used even today to create desktop applications.

Note

Microsoft Visual Studio 2017 is a WPF application.

XAML can be used to create:

  • UWP apps for Windows 10, Windows 10 Mobile, Xbox One, and Microsoft HoloLens
  • Windows Store apps for Windows 8 and 8.1
  • Windows Presentation Foundation (WPF) applications for the Windows desktop, including Windows 7 and later
  • Silverlight applications for web browsers, Windows Phone, and desktop

Note

Although Silverlight is still supported by Microsoft, it is not being actively developed, so it should be avoided.

Simplifying code using XAML

XAML simplifies C# code, especially when building a user interface.

Imagine that you need ...

Get C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.