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

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube