-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it run in Background? #110
Comments
The answer to this question is highly dependent on what device you are running the server on. For Windows 10 IOT on the Raspberry PI you can utilise a background task. For regular Windows 10 I think the window needs to stay active for it to keep on running, if the screen is locked the app is put it into sleep mode (see: #55). Hope this helps. |
Well, I'm developing for Windows Mobile. So, can I run the server in background? |
Last time I looked at doing that (about a year ago) that wasn't possible, since you're only allowed to run very limited tasks in the background that are triggered by something. Also you wouldn't want to run much in the background on a phone anyway since the battery would drain pretty fast with that + other apps running at the same time. But if you do find a way to do it, please let us know and we can add it to the FAQ. |
As far as I know, there is no way to always run a background task on mobile. You can set triggers from which background tasks are run (timer, OS events etc), but you will only have a limited amount of time while running the background task and it can be killed by the OS. There is enough MSDN documentation on this matter, I suggest to close the issue. |
Agreed, closing. |
How can I put the server to run in background?
The text was updated successfully, but these errors were encountered: