Longhorn Developer Details Released

Microsoft is now releasing more details on how to build Longhorn desktop applications—and pushing developers to crack open the early SDK.

Longhorn details are no longer quite so close to the vest as Microsoft is now releasing more details on how to build Longhorn desktop applications—and pushing developers to crack open the early SDK, and start writing code with some of the pre-release tools.

The latest Microsoft revelations, posted through MSDN, position Longhorn development as an evolution of today's .NET managed code and the Service-Oriented Architecture (SOA) approach to development, rather than a revolutionary break with the past.

If .NET wasn't enough to get Windows programmers into full object-oriented mode, Longhorn, which is entirely based on the .NET framework, may be the push they need.

The new Longhorn object-oriented application model is anchored by the Application object which offers all the services that simple applications require. And if the application is rudimentary, it can be built as a series of markup pages written in Extensible Application Markup Language (XAML), an extension of XML. Fancier programs can combine XAML pages with managed procedural code, or be written entirely in procedural code. Either way, they will rely upon the NavigationApplication object, which supports navigation and state management, and inherits all the attributes of the simpler Application object.

.NET promised a day when one application could run in several environments, whether Windows desktops, mobile devices, or as a Web service. Longhorn continues that track; its tools can produce several styles of output files, including freestanding browser apps, DLLs, console apps, and desktop EXE files.

Those wanting to code XAML-compatible apps today have three main choices; C#, Jscript .NET, and Visual Basic. But if the app is 100 percent procedural, any .NET-compatible compiler will do.

Longhorn XAML
Text navigation is helped by the PageViewer XAML control.

XAML promises easier design of screens and user interfaces. Developers can quickly choose colors, fonts, borders and menu designs, making prototyping a snap.

One of the neatest aspects of Longhorn apps is the ability to easily render and navigate documents through the PageViewer. Unfortunately, files must be ASCII text in an XAML file that is wrapped in a presentation subsystem control (Avalon). Forget about simply importing a raw HTML file-at least for now.

About the Author

Doug Barney is editor in chief of Redmond magazine and the VP, editorial director of Redmond Media Group.


  • Spaceflight Training in the Middle of a Pandemic

    Surprisingly, the worldwide COVID-19 lockdown has hardly slowed down the space training process for Brien. In fact, it has accelerated it.

  • Surface and ARM: Why Microsoft Shouldn't Follow Apple's Lead and Dump Intel

    Microsoft's current Surface flagship, the Surface Pro X, already runs on ARM. But as the ill-fated Surface RT showed, going all-in on ARM never did Microsoft many favors.

  • IT Security Isn't Supposed To Be Easy

    Joey explains why it's worth it to endure a little inconvenience for the long-term benefits of a password manager and multifactor authentication.

  • Microsoft Makes It Easier To Self-Provision PCs via Windows Autopilot When VPNs Are Used

    Microsoft announced this week that the Windows Autopilot service used with Microsoft Intune now supports enrolling devices, even in cases where virtual private networks (VPNs) might get in the way.

comments powered by Disqus

Office 365 Watch

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.