On the IOS platform, it’s possible to give a browser a link to an app on the device, such that following the link causes the app to launch and handle the request. E.g.:
pownce://foo/etc
Is there any similar approach in writing WinRT apps? This would be very significant in handling federated identity and authentication flows that make heavy use of browser redirects to relay information between parties.
Yes, Windows Store apps can be set up to handle protocol activation, which is described in the app manifest. (This will set up the necessary registry entries at installation time–you can’t do that manually for an app distributed via the Windows Store.) It basically allows for the same thing: define your own URI scheme and register an app as a handler for that scheme.
See How to Handle Protocol Activation (HTML/JS) or the equivalent topic for C#/VB/XAML.