I have a UWP app service from which I need to launch the default browser application. I've followed the app service tutorial available here. From the AppService (which is a universal windows runtime component), I tried to open the browser using its URI scheme.
var uriBing = new Uri(@"http://www.bing.com");
await Windows.System.Launcher.LaunchUriAsync(uriBing);
returnData.Add("Status", "OK");
this call gives me error of A method was called at an unexpected time.
Now my question is: Is it possible to open UWP application using its URI scheme from out of process app service?
LaunchUriAsync
in extension side. - Nico Zhu - MSFT