22,991 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
2
replies
67
views
Resources for Learning About Services in .NET
I have been developing for a while and primarily use c# and .NET. But recently, I have seen examples of applications using services to implement Dependency Injection best practice in their ...
1
vote
1
answer
91
views
Blazorize's docs says IToastService will be registered for me, but at runtime it fails because no such service is registered
I am trying to create a simple notification pop-up using the Blazorise.Toast component. I have followed the Blazorise Getting Started instructions, as well as the Blazorise Toast Setup instructions:
...
1
vote
0
answers
56
views
How to make floating window service stay on top of eveything including intent in Android Kotlin?
I am writing an app that supposed to work with AppInfo intent for running apps. When you click on a button, floating window should display covering everything underneath it until my app is done with ...
0
votes
0
answers
42
views
How to avoid stopping all processes that started by one systemd service when OOM happens?
In my env, some child processes are started by one systemd service, if there is something wrong with one child process and OOM is triggered by it, all the processes (all the child processes and the ...
0
votes
1
answer
45
views
Azure Service Bus message silently fails when i send to queue
I have a listener that processes a message from a queue and then sends it to my response queue.
It seems to not through any errors, but the second message seem to silently fail because it never goes ...
0
votes
1
answer
77
views
How to notify a custom Windows service after user login completes (C/C++)
I would like to notify my custom service program after a user logs in and successfully inputs their password. How can I implement this functionality?
I have found the following registry configuration: ...
0
votes
0
answers
107
views
How can I check if a Windows service is running on a remote server in VB.net?
Colleagues, I have a client-server application. Within the server, I've created a Windows service that uses an ODBC connection via a DSN.
Sometimes when I check the server, I see that the Windows ...
0
votes
1
answer
78
views
Getting 404 error when trying to access custom classification model in new Document Intelligence Studio
I've created a custom classification model in the new Azure Document Intelligence Studio and I have trained it with my relevant documents. I am now trying to access this trained model in my c# service ...
1
vote
1
answer
120
views
AudioFocus requests ignored on Samsung devices (Android 15, targetSdk 35) even with foreground service
When I updated my app’s targetSdk to 35, I noticed an issue on Samsung devices running Android 15:
Even if my app is running a foreground service, AudioFocus requests are ignored whenever the app ...
0
votes
1
answer
74
views
Declaring SqlConnection fails service to start [closed]
I've created a Winforms program that checks values in a plc and write it to a database on an event. This works fine.
Then I translate the Winforms app to a service, the reading from the plc works but ...
0
votes
1
answer
147
views
How to make a WPF program launched by a background process gain focus? [closed]
I have a custom-styled WPF application that is launched by a background process, which in turn is started by a Windows Service. The service runs in Session 0, while the background process and WPF app ...
0
votes
1
answer
100
views
AccessibilityService not reconnecting (onServiceConnected not called) after app restart on Android 15
I have an AccessibilityService that works fine right after requesting the permission.
When the user grants Accessibility permission, the service connects and onServiceConnected() is called.
At this ...
-1
votes
1
answer
53
views
How to inject a service in the configuration file in Angular
I have below piece of code which return the array of the input fields:
import { MyService } from "my-service";
export const INPUTCONFIG = (myService: MyService) => [
inputsFactory<...
3
votes
3
answers
88
views
powershell - using -Confirm as a parameter, how do I know if the user has said 'yes'
I have this simple script in powershell.
# Save the non-running services to a variable
$nonrunningServices = Get-Service -Name "*sql*" | Where-Object { $_.Status -ne 'Running' }
#Check the ...
0
votes
0
answers
29
views
generateForegroundServiceDidNotStartInTimeException Service Android [duplicate]
I build an Android application in Kotlin. This application start some service where application is started.
Sometimes I receive the following error when I start the application (but this error appair ...