tagged [service]

Is Spring annotation @Controller same as @Service?

Is Spring annotation @Controller same as @Service? Is Spring annotation `@Controller` same as `@Service`? I have idea about `@Controller` which can be used for `URL` mapping and invoking business logi...

10 Apr at 10:18

The VMware Authorization Service is not running

The VMware Authorization Service is not running windows could not start vmware authorise service on local computer. > Error 1075 : the dependency service does not exist or has been marked as deletion...

28 Jun at 05:49

RedisRequestLogger not working

RedisRequestLogger not working I had added the RequestLogger to my service code to enable logging. It worked fine Now I replaced it with the RedisRequestLogger. Now the logging doesnt work. I am not s...

14 Jul at 23:33

Systemd with multiple execStart

Systemd with multiple execStart Is it possible to create service with the same script started with different input parameters? Example: Is it possible? Will it be launched in serial-mode? Or in two di...

25 Feb at 09:19

WCF service on root of IIS host

WCF service on root of IIS host How would I set up a WCF service hosted in IIS on the root of the domain? i.e. [http://www.example.com](http://www.example.com) instead of [http://www.example.com/Servi...

12 Feb at 04:9

Difference between ServiceProcessInstaller and ServiceInstaller

Difference between ServiceProcessInstaller and ServiceInstaller I don't get the difference between `System.ServiceProcess.ServiceProcessInstaller` and `System.ServiceProcess.ServiceInstaller`. From me...

8 Jan at 12:7

Can I use Roslyn for compile time code rewriting?

Can I use Roslyn for compile time code rewriting? For example I have Can I get the Foo class AST and rewrite Bar, in compile time, to ``` public string Bar { get { return this.bar; } set ...

can't access the added service reference

can't access the added service reference I've added a service reference to my mvc4 web project and left it with the default namespace "ServiceReference1", but when I wanna use that namespace, visual s...

When to use byte array, and when to use stream?

When to use byte array, and when to use stream? I need to send images and small video files (around 5MB, less than 10MB) to a REST service, which I will write. I am wondering whether I should use Byte...

17 Jan at 15:56

Is it possible to update the Service Fabric Cluster Manifest?

Is it possible to update the Service Fabric Cluster Manifest? I found the following API `await fabricClient.ClusterManager.ProvisionFabricAsync(null, "testMani.xml");` but have not figured out where t...

5 Mar at 22:22

Windows like services development in LINUX using MONO?

Windows like services development in LINUX using MONO? I just moved from .net development to LINUX MONO development... and i don have much experience with linux dev earlier.. 1. I have a requirement t...

3 Aug at 08:27

Error in self-hosting service stack webservice in F#

Error in self-hosting service stack webservice in F# I am creating service using servicestack. I have copied self-hosting code from [github Wiki- servicestack](https://github.com/ServiceStack/ServiceS...

25 Aug at 13:28

Android: How can I get the current foreground activity (from a service)?

Android: How can I get the current foreground activity (from a service)? Is there a native android way to get a reference to the currently running Activity from a service? I have a service running on ...

6 Oct at 14:51

How to get the current location latitude and longitude in android

How to get the current location latitude and longitude in android In my application, I get the current location's latitude and longitude when application is open, but not when the application is close...

How to use Identity Server 3 for Servicestack service Authentication?

How to use Identity Server 3 for Servicestack service Authentication? I am using Service stack version `3.9.71` for service creation. Now we have requirement to authentication this service. how we can...

Service vs IntentService in the Android platform

Service vs IntentService in the Android platform I am seeking an example of something that can be done with an `IntentService` that cannot be done with a `Service` (and vice-versa)? I also believe tha...

Interacting with WMI via .NET core

Interacting with WMI via .NET core I need to get information about system such as: motherboard info, hdd info, e.t.c. in OS Windows. I can get it from wmi service. But I need to gather it with .NET co...

26 Dec at 11:33

CloudConfigurationManager vs WebConfigurationManager?

CloudConfigurationManager vs WebConfigurationManager? In an Azure Websites I was always using the following code to fetch some values from the config's app settings: Just a couple of days ago I stubl...

7 Oct at 04:33

Service Fabric Unhandled Exceptions and best practices

Service Fabric Unhandled Exceptions and best practices Just curious if anyone has experience with unhandled exceptions in Service Fabric and what the best practices surrounding them are. Mainly curiou...

1 Aug at 20:45

Prevent multiple instance of a service - best approach?

Prevent multiple instance of a service - best approach? So what do you think is the best way to prevent multiple threads of a C# Windows service running simultaneously (the service is using a `timer` ...

6 May at 15:29

How to see if running under service fabric

How to see if running under service fabric I sometimes run projects locally out of visual studio is there a better way to detect if I'm hosted by SF rather than the exception. I can see possibly the p...

29 Mar at 21:30

How to read Azure web site app settings values

How to read Azure web site app settings values I am trying to configure some key/value pairs for my Azure web application using app settings section on Windows Azure preview portal. [](https://i.stack...

"Installation failed due to the absence of a ServiceProcessInstaller" Problem

"Installation failed due to the absence of a ServiceProcessInstaller" Problem When I start to installing using installutil it gives me following error, I have set ServiceInstaller and ServiceInstaller...

Calling Environment.Exit in a windows service

Calling Environment.Exit in a windows service Does calling Environment.Exit from within a Windows service make the SCM call the onStop() method of the service, or is this behaviour unpredictable ? I h...

10 Oct at 10:13

C# service - OnStart() v Constructor

C# service - OnStart() v Constructor I'm trying to understand the difference between `OnStart()` and the constructor in a `ServiceBase` derived class. From reading around it seems that the first time ...

13 May at 20:5