Skip to content
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

Feature Request : Background Services #19

Open
dicksonkimeu opened this issue Sep 26, 2022 · 2 comments
Open

Feature Request : Background Services #19

dicksonkimeu opened this issue Sep 26, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request feature request Means some additional functionality is asked question Further information is requested

Comments

@dicksonkimeu
Copy link

How can background services be added as used to be in UWP ?

@LeftTwixWand
Copy link
Owner

Hi, thank you for this issue!

I think there are two options to do it:

  1. To use Windows.ApplicationModel.Background. This namespace already contains a lot of good stuff to organize your background activity. You can try to create an empty UWP project, using Template Studio for UWP, because it has already implemented feature for the simple background task management.
    Template Studio wizard

  2. To use some 3d party solution, like Hangfire. Such ready-to-use solutions already has many cool features, like background tasks persistence, scheduling and so on.

Honestly, I haven't worked with Windows.ApplicationModel.Background namespace before, so it's difficult to say, how usable it is. But your idea with some background services is cool, and I've already thought about it. It definitely has its place in this project.

@LeftTwixWand LeftTwixWand added enhancement New feature or request question Further information is requested feature request Means some additional functionality is asked labels Sep 27, 2022
@LeftTwixWand LeftTwixWand self-assigned this Sep 27, 2022
@LeftTwixWand
Copy link
Owner

Also, in the Windows Community Toolkit there is some implementation for the Background Tasks management. Seems, that it has some build in functionality.
Background tasks

You can download the sample app from the Store.
Or through the Winget:

winget install "Windows Community Toolkit Sample App"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Means some additional functionality is asked question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants