Feed Subscribe
Exception has been thrown by the target of an invocation.


Some observations on managed Windows 8 metro applications

by ondrejsv 15. September 2011 20:20

This is an unstructured list of interesting things I found when playing with the new metro applications.

While HTML5/JS metro applications always run in a host process WWAHost.exe (Windows Web Application Host?), .NET apps does not, they run directly in its own process:

image

image

When deployed locally from the Visual Studio, applications (both HTML5/JS and .NET) are stored within the folder AppxLayouts in the user folder. It is interesting that XAML and content files are not embedded as resources in the executable but they are left alone:

image

As the WinRT is native, every external event such as Click comes from the blackbox:

image

If we look at modules currently loaded when a managed application is running:

image

we’ll find some interesting things:

  • despite the fact that in a Metro app you may use only a subset of the full .NET, it looks like some of the full .NET modules are loaded (mscorlib.dll, System.Runtime.dll, System.Linq.dll, System.Core.dll, System.dll, System.Xml.dll and others), so a managed application obviously does not only forward calls to the native WinRT,
  • of course, a number of WinRT modules are loaded (with .winmd extensions)

.NET 4.5 assembly references are evident if we look at the application from the Reflector:

image

Tags:

List of Windows 8 Metro applications in DevPreview

by ondrejsv 14. September 2011 23:13

We all know that that there are two main approaches to develop new “Metro” style applications in Windows 8: HTML5/JavaScript and .NET (predominantly C# and VB.NET) and one complementary approach (C++/XAML). What technologies did Microsoft choose to write demo applications coming in the Developer Preview?

Here’s a short list containing all applications packed up in the Windows 8 Developer Preview together with technologies they are build on and other comments.

So what would be a management summary? 29 applications, 5 of which are written in .NET/XAML, 2 probably in C++/XAML and the rest are HTML5/JS.

Name Technology Comment Immersive tile
Alarms HTML5/JS   image
Piano (audiotagpiano) HTML5/JS   image
BitBox HTML5/JS sound loops sequencer image
BUILD HTML5/JS just a little app showing BUILD sessions image
Copper C++/XAML ??? simple 3D demo image
Five in row HTML5/JS   image
Flashcards HTML5/JS   image
News (hermes) HTML5/JS   image
Chess (checkm8) .NET/XAML   image
Ink Pad HTML5/JS   image
Labyrinth HTML5/JS   image
Measure It HTML5/JS   image
Memories .NET/XAML   image
Mopod HTML5/JS   image
Air Craft (myplane) HTML5/JS   image
Near Me HTML5/JS   image
Notespace HTML5/JS   image
PaintPlay HTML5/JS   image
Picture Stream (picstream) .NET/XAML    
Socialite HTML5/JS    
Stock HTML5/JS   image
Sudoku .NET/XAML includes Tim Heuer’s code image
Tile Puzzle HTML5/JS   image
Treehouse Stampede! HTML5/JS   image
Tube Rider C++/XAML ???   image
Tweet@rama HTML5/JS    
Weather HTML5/JS   image
Word Hunt HTML5/JS   image
Zero Gravity .NET/XAML Ported Windows Phone 7 application image

Tags: