23,002 questions
0
votes
0
answers
29
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
0
answers
93
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 ...
1
vote
1
answer
103
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
122
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 ...
-1
votes
1
answer
51
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 ...
2
votes
0
answers
89
views
Decrease Boot Time of Service
My android application, which is a device owner, has a service and starts on BOOT_COMPLETED event to block access to certain apps. However, it takes some time in seconds after loading of UI. Users ...
-1
votes
1
answer
63
views
How can I create a Windows service as current user? [closed]
I want to install a Windows service as current user because it needs access to the graphical layer which is not accessible to the SYSTEM user.
1
vote
1
answer
43
views
How do .NET Core services interact with Systemd to identify that service is frozen?
I developed a .NET 6.0 service that executes functions that execute in a fixed interval of time. I used timers to start functions.
But I detect sometimes that the service stops to execute this ...
1
vote
1
answer
69
views
UnknownDependenciesException [Error]: Nest can't resolve dependencies of the MysqlAgendaRepository (?)
Im getting "[ExceptionHandler] UnknownDependenciesException [Error]: Nest can't resolve dependencies of the MysqlAgendaRepository (?). Please make sure that the argument "AgendaRepository&...
0
votes
0
answers
44
views
How to start foreground service in Android 34
I build an Android application using Kotlin and Java. In this app I build some Service. Now with Android 12 I have no issue. From new device if I try to start this service, I receive the following ...
0
votes
1
answer
297
views
How to collect and return multiple validation errors from service layer in .NET 8 instead of throwing exceptions?
if (!hasAnyPhoneNumber)
throw new NotEmptyException("PhoneNumber", MessageHelper.GetMessage(ErrorMessageName.NOT_EMPTY));
I haven't tried any specific solution yet, but my goal is to ...
0
votes
1
answer
58
views
Is it possible to bind and unbind a bound service via button click in Android?
Can I safely perform bindService() and unbindService() when a button is clicked inside an Activity or Fragment, instead of binding in onStart() and unbinding in onStop()?
Will it cause any issue if ...
0
votes
0
answers
41
views
What is the right way to update WallpaperService
I'm trying to set a video as a live wallpaper, with some user-configurable options such as changing the video path, wallpaper scaling type (Crop or Fit to Screen), and background color. The code below ...
0
votes
1
answer
89
views
Single entity manager for multiple services in Spring Boot?
I have a Java project, let's call it 'magical' which defines some JPA entities, and manipulates them vía some services using Eclipselink.
One of those entities is the entity User.java. So, the '...
0
votes
0
answers
58
views
TextView in android studio service doesn't update/goes back to its initial text when service is shut down and called again
I have a service in my code that is meant to display a different brain teaser question each time the service is called on. I can get the question to change on my service, but when I have the service ...
2
votes
1
answer
78
views
Windows services and logging frameworks and AppVerifier
I have a Windows service that is written in C++. I recently became aware of the Microsoft Application Verifier Tool that can be used to catch not so obvious memory leaks and other such problems.
I've ...
0
votes
0
answers
15
views
Android Service Client to listen for Service Server response
I am trying to implement a Bounded Service and Client architecture in Android as an Echo Service where a service echoes out whatever the Client sends while appending a echo. prefix.
I am able to get ...
0
votes
0
answers
48
views
Separating Firebase logic from business logic in Swift using Service-Repository pattern
I have this function in my TaskService:
func deleteTask(task: DistributionTask) async throws -> Void {
let (tasksCollection, userTasksIdsField, teamTasksIdsField) = task.isCompleted
...
0
votes
1
answer
173
views
Aspire 9.1 Service returns Unhealthy, but Aspire Dashboard does not reflect the state
For testing purposes, I changed the code line in the aspire template project
from
.AddCheck("self", static () => HealthCheckResult.Healthy(), ["live"]);
to
.AddCheck("self&...
0
votes
0
answers
53
views
How to properly organize (User)Service: DTO, Include and exception handling?
For context: I use Mapster and Serilog.
public class UserService(IUserRepository repository, ILogger logger)
{
public async Task<TDto?> GetByIdAsync<TDto>(int userId, Func<...
0
votes
0
answers
30
views
Kong api gateway - One service on two hardware units with localhost and remote ip in URLs
We have following scenario which fails with kong api gateway:
Service1 has an endpoint named “endpoint1” which gives hardware specific value in response.
We have say 2 hardware units (H1 and H2) inter-...
0
votes
1
answer
61
views
start a process in the host from docker container [duplicate]
As title suggests, I was interested into making a process start directly on the host, called inside a Docker container.
Do you have any idea on how I could accomplish this goal?
To be more precise, ...
1
vote
1
answer
177
views
How to show in UML a RESTful API call to fetch data [duplicate]
How do I show the relation between a class named ApiService with method named fetchDataFomAPI() and a class named Student.
Can I link them directly ? an aggregation between the two classes Student-(...
1
vote
0
answers
78
views
Delphi service startup weirdness
Regular service written in Delphi XE7 (windows 10 22H2). In OnStart Event I create some objects, I read inifile etc.
StartType = stAuto.
Windows service set up: automatically.
When my service state is:...