locked
About WinRT

    General discussion

  • You cannot vote on your own post
    0

    I read http://www.infoq.com/news/2011/09/C-Component-Extensions and questions for WinRT

     


    1. What is the relationship about .Net and WinRT in windows 8? seems .Net on Windows 8 is based on WinRT?
    2. Is there any plan to let WinRT to support None-Metro style app? 
    3. Since it is a new API for windows programming, what about XP, Win 7, any plan to support WIinRT?

    Thursday, September 15, 2011 4:03 AM

All replies

  • Marvin, you can find more information at http://msdn.microsoft.com/en-us/library/windows/apps/hh464942(v=VS.85).aspx.

    WinRT is not directly related to .NET per se. As a .NET developer, one could think about the WinRT APIs as the "BCL of Windows." The .NET Framework and CLR is still very much alive. If you are writing a Metro style app using XAML and C#/VB, you are still using the .NET Framework and the CLR (and likely WinRT APIs to get access to new Windows features).

    Essentially, WinRT APIs are powered by ECMA-335 compliant metadata. Windows Runtime is basically a new profile of ECMA-335. If you look at C:\Windows\system32\winmetadata, you will find a bunch of *.winmd files. These are the metadata files describing all Windows WinRT APIs. They can be opened and viewed with existing IL tools like ILDASM, .NET Reflector, ILSpy, etc. It is these metadata files that enable the language projections to call the Windows WinRT APIs.

    In the Developer Preview, using WinRT from outside Metro style apps is not a supported scenario. It may work depending on which API you are calling, but it's not supported. We are still discussing the final plans around this in Windows 8.


    Thursday, September 15, 2011 4:56 AM
  • dupe...

    Thursday, September 15, 2011 5:01 AM
  • interesting
    Thursday, June 14, 2012 9:29 AM