Coffeehouse Post

Single Post Permalink

View Thread: A quick self-reminder why I did not pursue native development
  • User profile image

    ,ScanIAm wrote


    I went to a post BUILD event last night and the same discussion was had there, too.  It seems to still be confusing even with the evidence on both sides.

    That said, if WinRT is as awesome as it seems, it will almost have to end up being callable from everywhere...

    I was disappointed to find out that Microsoft didn't do enough abstraction to allow more of the WinRT classes/methods to be usable from standard .NET applications. I understand that it wouldn't make sense to allow something like FileOpenPicker.PickSingleFileAsync() to be callable from ASP.NET, but there's no reason you shouldn't be allowed to call it from a WPF application. The framework should detect what kind of application is calling it, and then present the appropriate dialog (i.e. standard windows File Open dialog or the Metro-version). As it stands now, calling FileOpenPicker.PickSingleFileAsync() from a WPF application does nothing, as far as I can tell.