What is a Windows Service and how does its lifecycle differ
from a "standard" EXE?
Answers were Sorted based on User's Feedback
Answer / tarun singla
A windows service is an application which when installed on
a system, appears in the services console window
(services.msc). It is different from a standard exe in the
sense that we define/configure a time interval at which
this application would run on a regular basis. So this time
interval is taken care of by the Windows and it executes
that application at regular intervals. Whereas in a
standard exe is would not be the case. One has to click on
that exe each time he wishes to execute that application.
Is This Answer Correct ? | 20 Yes | 4 No |
Answer / sweetu
Windows Service applications are long-running applications
that are ideal for use in server environments. The
applications do not have a user interface or produce any
visual output. Any user messages are typically written to
the Windows Event Log. Services can be automatically started
when the computer is booted. They do not require a logged in
user in order to execute and can run under the context of
any user including the system. Windows Services are
controlled through the Service Control Manager where they
can be stopped, paused, and started as needed.
Read more:
http://wiki.answers.com/Q/What_is_a_Windows_Service_and_how_does_its_lifecycle_differ_from_a_standard_EXE#ixzz1H3qoDnz8
Is This Answer Correct ? | 5 Yes | 0 No |
what are the application layers for a distribute application?
Usage of web.config?
What is the difference between web.config and machine.config in ASP.NET?
can sn.exe can be used before gacutil.exe
What are the parts of an http response?
How does u call and execute a sp in .net?
Explain the difference between asp.net mvc and asp.net webforms
What is http request and response?
Can we store object in viewstate?
Types of store procedure in Sqlserver?
To display data in a Repeater control which templete is provided ?
Is object a value type or referenced type?