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

what are the application layers for a distribute application?

0 Answers   Mind Tree,


Usage of web.config?

2 Answers   Microsoft,


What is the difference between web.config and machine.config in ASP.NET?

0 Answers   Amazon,


can sn.exe can be used before gacutil.exe

2 Answers   Accenture,


What are the parts of an http response?

0 Answers  






How does u call and execute a sp in .net?

0 Answers  


Explain the difference between asp.net mvc and asp.net webforms

0 Answers  


What is http request and response?

0 Answers  


Can we store object in viewstate?

0 Answers  


Types of store procedure in Sqlserver?

3 Answers  


To display data in a Repeater control which templete is provided ?

4 Answers   Siebel,


Is object a value type or referenced type?

2 Answers  


Categories