In-Depth

Avalon: The Longhorn Presentation Layer

Avalon is a core part of Microsoft's presentation layer for its next major version of Windows, code-named Longhorn. Drill down on what it contains in this architecture model.

Avalon is the code name for a core portion of Longhorn's presentation layer (see Figure 1). The phrase is used frequently to refer to the entire presentation layer, but strictly speaking, Avalon doesn't include Windows Forms or ASP.NET. Avalon provides an expanded view of the user interface layer with specific models for (1) documents and (2) media. Many other features, including controls and even the (3) Personalization and Profiling Services of ASP.NET, are defined as part of the Longhorn operating system as well.

Avalon interacts with the base operating system. For example, the "Longhorn: The Base Operating System" diagram includes a box for GDI/GDI+ that shows the graphics and input portions of the base operating system. Some of these items reside in the kernel; others do not. These core items aren't repeated in this view of Avalon, but Avalon depends on them to accomplish and display tasks.

Avalon offers a fundamental change in how you interact with your computer, and is probably the most significant UI change since Windows 1.0. It promises fundamental changes in technology, such as the way graphics are buffered internally. These features will include more efficient integration with sound and video, complex graphics displays, and sophisticated use of transparency. Microsoft believes the real advances here will come when experts in human computer interactions are free from the limitations of Win32 and can develop new controls and techniques that offer more of an immersive experience. An immersive experience decreases the effort you spend interacting with the computer and increases your ability to focus on the task at hand. A good computer game is an immersive experience—allowing you to concentrate on your goal, not the way you control your character.

It isn't in the diagram, but another aspect of Avalon is the declarative graphics language, Extensible Application Markup Language (XAML). XAML is an XML-based language for describing graphics. You'll be able to declare the new Avalon controls using XAML or in the source code of your language of choice. You'll also be able to use WinForm controls and XAML controls side by side as you migrate your applications.

Details are few at this time, but the models Microsoft presented at PDC also include slots for a (4) desktop composition engine and a (5) presentation object manager.

About the Author

Kathleen is a consultant, author, trainer and speaker. She’s been a Microsoft MVP for 10 years and is an active member of the INETA Speaker’s Bureau where she receives high marks for her talks. She wrote "Code Generation in Microsoft .NET" (Apress) and often speaks at industry conferences and local user groups around the U.S. Kathleen is the founder and principal of GenDotNet and continues to research code generation and metadata as well as leveraging new technologies springing forth in .NET 3.5. Her passion is helping programmers be smarter in how they develop and consume the range of new technologies, but at the end of the day, she’s a coder writing applications just like you. Reach her at [email protected].

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events