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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube