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 / swapna

Windows service is a application that runs in the
background. It is equivalent to a NT service.
The executable created is not a Windows application, and
hence you can't just click and run it .

it needs to be installed as a service, VB.Net has a
facility where we can add an installer to our program and
then use a utility to install the service. Where as this is
not the case with standard exe.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / waqas

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

what is a namespace?how they are classified?write a program which contains class,object,inheritance?

0 Answers   Six Sigma,


How to call the dll at runtime in .Net?

4 Answers   iGate, Infosys,


what are constructors and destructors

1 Answers   Six Sigma,


What are .net mobile controls features? : Microsoft dot net mobile

0 Answers  


Can I create my own permission set?

0 Answers  






Please tell me the .net 2.5 frame work with example

2 Answers  


what is just in time compilation?

1 Answers   Six Sigma,


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

0 Answers  


what are ACID properties ?

3 Answers  


What is the application frame host?

0 Answers  


When should you use Abstract Class vs Interface while programming? Give 1 Example

3 Answers   CSS Corp, Hexaware, T3 Softwares,


how would you manage data if u were not to use sessions or cookies ?

2 Answers   Ness Technologies,


Categories