Skip to content

emoacht/UwpCommunicationTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UWP Communication Test

Test communications between UWP and WPF by AppService.

Launcher.LaunchUriAsync method (except overload which takes ValueSet) works on WPF but Launcher.LaunchUriForResultsAsync method seems to always throw InvalidOperationException if called on WPF.

How to communicate

Case 1

Both ComApp.Uwp and ComApp.Wpf are packaged in ComApp packaging project.

  1. Build and start ComApp. It will install both apps.
  2. Start ComApp.Uwp. Hit Launch WPF to start ComApp.Wpf.
  3. Send the messages to each other.

Case 2

ComApp.Uwp2 and ComApp.Wpf2 are independent apps.

  1. Build and start ComApp.Uwp2. It will install this app.
  2. Build and start ComApp.Wpf2. It will find the installed ComApp.Uwp2 and fill FamilyName. Hit Launch UWP to start ComApp.Uwp2.
  3. Send the messages to each other.

About

Test communications between UWP and WPF by AppService.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages