Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Building Metro style apps with XAML and C++

1 hour, 13 minutes, 36 seconds


Right click “Save as…”

Slides (view online)

With the introduction of Metro style apps for C++ developers, Microsoft now brings the XAML UI platform to native code!  I will take you through a lap around creating a Metro style app in XAML and C++.  I'll introduce the fundamentals of the XAML platform in WinRT and how C++ developers can easily write applications with a consistent, touch-friendly UI framework.  I'll walk through the developer experience in Visual Studio for creating these apps, noting how (and why) code is structured in the project system.  I will also demonstrate some of the powerful benefits of XAML in databinding and custom control development. Finally, I will introduce the developer tools that enable you to design XAML in a graphical way within Visual Studio as well as Blend.

For more information, check out this course on Microsoft Virtual Academy:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • DanishDanish

    I expected to find a video here...

  • I expected to find a video here...

    If you go to the live feed and scroll back to about hour 2:15 or so, you'll see Tim's talk

  • Armando Meabe - MSPArmandoMeabe Just planning how to conquer the world

    I expected to find a video here...

    Expressionless me too!

  • Sam Covingtonsamcov Which pill did I take?

    I'm a bit confused. 

    Microsoft strongly suggest building Metro Applications in HTML/JS, not XAML.

    So the question is why should we use a depreciated product(even thought I may want to)?

  • At 40:15... isn't it a bit un-intuitive for search to only search those apps when the user clicks on the app?  What if the user doesn't know which app their search term might apply to, or has simply forgotten?

  • peter chopeter cho

    I like the tile interface.
    Windows 8 look is very bold beautiful and fluid.
    is a newcomer, young and attractive
    it's perfectly suited for tablets thanks to the low power drain and low heat generated by systems running on ARM processor !!;)
    im so happy for codename:Windows 8 and i think Windows 95 was a big deal for users and developers alike.
    Overall, this release feels smoother, faster, snappier, and more stable.
    Metro does rock on desktop and laptop!
    with this your luck can be perfect.
    now with touch you can have all your requirements plus even more.
    My prediction is clear and I know that there will be a much perfect luck for the whole W(P)8(RT) universe than Microsoft can imagine.I respect Microsoft for doing that. My opinion on these metro hating freaks is that they are all people who don't like to change
    and dont forget Thank for feedback mark as answer and log uri

  • Perhaps this demo should be redone to avoid the "out of disk space" errors that kept disrupting the presentation.

  • Another session on a similar topic here:



  • There is something i don't understand. They say Native c++ code but all the api need to to be ref newed and passed by ^. This is the terminology of CLR... Also ^ and ref new is not standart c++.

    If all the ^ and ref new are not CLR what is the difference?



  • @monamimani: WinRT is true Native code, but have too similar things with technology provided in managed .NET - the WinRT library at %SystemRoot%\System32\WinMetadata have the same file format as .NET Assemblies.

    For example this is a screenshot


    http://img137.imageshack.us/img137/3154/hellocodeccxcsharpvbnet.png (direct link)

    of examination's Dependency Walker of three binaries of the same code from Charles Petzold - Programming_Windows__Sixth_Edition, but written in three language - C++/CX, C# and VB.NET.

    There are no mscoree.dll (.NET core) in C++/CX variant(HelloCode_CCX.exe).

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.