question

basithp-6086 avatar image
0 Votes"
basithp-6086 asked RoyLi-MSFT commented

Windows service in windows phone

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.

windows-uwpwindows-app-sdk
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@basithp-6086 Have you solved your issue? Does my reply make sense?

0 Votes 0 ·

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.