What is a Windows Service and how does its lifecycle differ
from a "standard" EXE?

Answers were Sorted based on User's Feedback



What is a Windows Service and how does its lifecycle differ from a "standard" EXE?..

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

What is a Windows Service and how does its lifecycle differ from a "standard" EXE?..

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

Post New Answer

More ASP.NET Interview Questions

How to migrate from sqlserver 2005 to sql server 2000 (every one know reverse process of that )

2 Answers   Cap Gemini,


Is global asax mandatory?

0 Answers  


How do you use viewstate?

0 Answers  


Why is the standalone environment only useful during the development process?

0 Answers  


What are asynchronous callbacks ?

6 Answers   Accenture, BirlaSoft,






what is publisher?

0 Answers   Microsoft,


What is the full meaning of asp.net?

0 Answers  


What is session object? Describe in detail.

0 Answers  


What are demand-paging and pre-paging?

0 Answers   MCN Solutions,


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?

0 Answers  


In what order do the events of an ASPX page execute, As a developer is it important to understand these events?

4 Answers  


What is session state server?

0 Answers  


Categories