Windows service in windows phone

basith p 1 Reputation point
2022-07-07T11:42:25.903+00:00

Hi,

I have a project for windows desktop with two processes. One is windows service running in background and a UI application that connects with windows service through IPC. Both are running .Net core 6 (WinUI3 and worker service). I want to use same project in windows phone. Can I use the same source code for that? Mainly I have two requirements

  • Can I run windows service (in .Net 6) in windows phone, if not what is alternative for windows service in windows phone
  • Can I run WinUI3 in windows phone. if not I can use uwp for UI app.
Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-07-08T02:20:59.637+00:00

    Hello,

    Welcome to Microsoft Q&A!

    I'm not familiar with windows service, so I could just talk from the UWP side and answer the seconde question.

    Can I run WinUI3 in windows phone. if not I can use uwp for UI app.

    No, you can't run WinUI3 in windows phone. Based on the document: WinUI3 library requires windows 10, 1809 or higher. Windows phone support is ended now and its OS version stops at windows 10, 1709. So you can't run WinUI3 applilcation on windows phone.

    You have to create a UWP with target windows 10, 1709 so that the app could run on windows phone.

    For your first question, you might need to go to other forums and ask windows service engineers.

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.