Questions tagged as 'services'

1
answer

Is it possible to use Session in Windows Service?

I have an application in Windows Service, and I need to save the state while a certain method is executed, what is the best way to do this?     
asked by 10.02.2015 / 18:40
2
answers

Controller and services logic with Angularjs

I have some doubts about the logic of the search functions of the controller and the service. Here is an example of service : angular.module("myApp").factory("ProjetosAPI", function ($http, config) { var _getProjetos = function (pagin...
asked by 08.12.2016 / 19:29
3
answers

How to use GetSetting / SaveSetting in Windows Services

I created a service and configured it as LocalSystem . In the implementation I try to fetch a record saved in REGEDIT by another program. The method GetSetting always returns me empty. Is there any way to recover / save data i...
asked by 17.01.2015 / 13:15
1
answer

How to determine if a string value is in XML format?

I'm connecting to an API, or service like that, which returns me an xml when it finds data in the database, but unfortunately it returns a string if nothing is found or an error occurs. In my application I'm using the following code to connect t...
asked by 25.02.2014 / 21:47
1
answer

Procedures after errors should be in the services / validations or in the controller?

In a backend that has separate validation functions to verify the validity of the data, if this data is invalid the procedure (returning a 400 or printing something on the screen, for example) must occur in this validation part or is a task for...
asked by 22.07.2018 / 00:56
1
answer

Windows service using async method, is there any need?

On my system, I have some auxiliary routines, which are triggered at set times, out of work. These routines are run by a Windows service program. Would you need to run these asynchronous services? That is, using methods async ? As...
asked by 22.07.2017 / 15:52
2
answers

ProgressBar loading according to JavaFX process time

I have a method that loads a ProgressBar , but it only starts loading at the end of the process, ie after my application finishes generating the reports it starts to fill. How do I load it according to the process time that generates th...
asked by 28.05.2015 / 13:35
1
answer

What is the difference between Service and Application Software?

I've always wondered about the difference between the terms serviço and software de aplicação . Both have similar meanings, but what is the big difference in them? Here are some definitions about the terms.    Microsoft Windows...
asked by 29.10.2015 / 11:58
1
answer

Dependency injection in service

Can I do dependency injection on services? for example, I tried this: service 1 var crypto = angular.module('crypto',['ngRoute']); service 2 var teste = angular.module('userlog',['crypto']); teste.service('userlogService','cryp...
asked by 20.10.2015 / 21:20
0
answers

Service with FileSystemWatcher is not listening forever

I'm doing a windows service in C #, which listens to a folder and every time it has an audio file it uploads. The problem is that it works, but after a few minutes of listening to the folder, it does not cause a problem, the service still sta...
asked by 18.12.2018 / 23:24