C
C#2y ago
fero23

❔ MAUI background task

I am searching for a way to create a background service or background thread in a .NET MAUI app. What I mean is that I need a single background thread that is always working as long as the app is open. On a typical ASP.NET application I could use AddHostedService to add my background service and have it communicate with the rest of the apps using channels, but if I try to do so on a MAUI app, the service never gets run. I searched online and I found https://shinylib.net/ but I am not sure if it will really serve my purposes since what I need is one big task instead of foreground services like in iOS or Android. Does anyone know what could I use for this?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server