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 |
How to migrate from sqlserver 2005 to sql server 2000 (every one know reverse process of that )
Is global asax mandatory?
How do you use viewstate?
Why is the standalone environment only useful during the development process?
What are asynchronous callbacks ?
6 Answers Accenture, BirlaSoft,
what is publisher?
What is the full meaning of asp.net?
What is session object? Describe in detail.
What are demand-paging and pre-paging?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
In what order do the events of an ASPX page execute, As a developer is it important to understand these events?
What is session state server?