In the last couple of days, we made a number of announcements at the Worldwide Partner Conference in New Orleans. One of the most interesting things we released (and that all developers may want to take a look at) is the XP2Win7 project, which features PhotoView, a WPF application that runs on XP.

So… what is so cool about this? Well, if you run the same application on Windows 7, it will take full advantage of all the innovative features such as Taskbar, the Sensors and Location Platform, and Multitouch, as well as those introduced already in Windows Vista such as Application Recovery and Windows Search.

The objective that Tim Sneath and Jason Zander (who showed this app at the conference) wanted to achieve is to

“show developers how to take advantage of the new Windows 7 features while keeping backward compatibility with older windows versions. We also wanted to show a managed code application that uses a lot of the native API that are not present in the .NET Framework, and by doing so to lower the bar for.NET developers as they target Windows 7”

One thing I found actually quite cool is that

As a reference “educational” application, the application contains functionality that you do not normally find in regular applications, like a Crash button that will crash your application to demonstrate Windows 7 Restart Manager capabilities.

Really a nice touch :)

Other features used in the application are:

  • Windows Search
  • UAC
  • Scheduled Task
  • Windows 7 Taskbar Integration
  • Transactional File System
  • IO Optimization
  • Event Tracing for Windows (ETW)
  • Microsoft Management Console
  • Windows 7 Libraries
  • Windows 7 Sensor and Location Platform
  • PowerShell
  • Preview Handler
  • Aero Glass
  • Trigger Start Services

And by the way… did I mention we released the full source code??? Go download it here: