what is the Difference between background services and windows services?

2114 views c#
3

I am trying to create a background service to regulate time ,but i also came across windows services, I have searched but i need a thorough explanation on it.I want to create an action that happens within a time interval, that is i want to create a label that stays green from 3:00 pm till 5:00 am and then changes back to black after the time interval ,and i need a background service for that ,

this is the image( https://i.stack.imgur.com/p85uN.png) of what i am trying to do ,as you can see the "Open now" is green because the time is set for the label to be green

answered question

A windows service has no UI and hence no background.

1 Answer

1

Windows service are also called background Service. Windows Services are a core component of the Microsoft Windows operating system and enable the creation and management of long-running processes.

Unlike regular software that is launched by the end user and only runs when the user is logged on, Windows Services can start without user intervention and may continue to run long after the user has logged off. The services run in the background and will usually kick in when the machine is booted. Developers can create Services by creating applications that are installed as a Service, an option ideal for use on servers when long-running functionality is needed without interference with other users on the same system.

posted this

Have an answer?

JD

Please login first before posting an answer.

Ads

Categories