Hello,
Welcome to Microsoft Q&A!
Communication channel between a windows app and UWP app
Currently, the common way to do this is packaging the UWP app together with the windows app via Desktop Bridge and using AppService to communicate between each other. That's what the sample you mentioned does.
If you don't want to use this approach, another choice is to use socket for communication. Due to the limitation for UWP apps that running in sandbox, there are no other ways to do this expect these two approachs.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.