Bi-directional communication between .NetCore 3 and UWP processes RRS feed

  • Question

  • We are developing an application with .Net Core 3. However, one of our dependencies only supports UWP. Our plan so far has been to have a 'main' .Net Core 3 process for the bulk of our logic and a 'side' UWP process to connect to the library required.

    Have so far investigated:   
     -  IPC (anonymous/named pipes), which doesn't work since UWP apps run in their own sandbox
     - App Services which should in theory work... but even so, they seem to rely on the UWP app being the 'host' as the connection is launched by the UWP specific FullProcessTrustLaunccher.

    In summary, is there some way of achieving a bidirectional relationship between a .Net Core 3 process and a UWP process, where .Net Core 3 is the 'parent' process?

    • Edited by Bilalp Friday, November 22, 2019 3:57 PM
    Friday, November 22, 2019 3:55 PM

All replies

  • Hi Bilalp, 

    Thank you for posting here.

    NET Core is a cross-platform version of .NET, but UWP is only for the windows ecosystem, so you cannot use UWP in Linux or Mac.

    I find two related references, and you can refer to them.

    1. Can I build UWP with .NET Core?
    2. .NET Core - Create UWP App

    Hope them can help you.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 25, 2019 7:44 AM