This is a mirror of official site: http://jasper-net.blogspot.com/

How to Write a WinRT XAML Metro App

| Wednesday, February 1, 2012
142017_fig1_VS11_NewProject-SM.jpg

For anyone paying attention to the Microsoft space since September 2011, Windows Runtime (WinRT) has been a hot topic among the developer crowd as the platform for developing the next generation of Windows 8 immersive applications. The most exciting thing about WinRT is that both today's web developers and XAML developers have a place in this new environment: WinRT runs just as well when using HTML5 and JavaScript as it does when using XAML and C#. This means that, a few API changes aside, skill reuse is at a maximum. Anyone who is currently working with Silverlight or Windows Presentation Foundation (WPF) should have no problem transitioning into WinRT.

With that in mind, let's take a closer look at WinRT. In this article, we will first explore one of the pre-defined templates in WinRT to see how it compares with the XAML we know today. Then we will start a new application from scratch using our existing XAML and C# skills.
Diving In

The first step in creating any application for WinRT is to open Visual Studio. With the Windows 8 Developer Preview, we also received access to the Visual Studio 11 Express Developer Preview, giving us everything we need to develop, run, and debug a WinRT application even in this early stage of WinRT's life. Opening Visual Studio 11, we are presented with a familiar start screen, so we can click New Project to see what templates are installed with Visual Studio 11. Figure 1 shows the New Project screen.

Read more: DevProConnections
QR: winrt-xaml-metro-142017

Posted via email from Jasper-net

0 comments: