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 is caching and types of caching ?

2 Answers   Infosys,


What is the difference between cookie and session?

0 Answers  


How to authenticate users using web.config ?

1 Answers   Patni,


what are the components available in global.asax ?

1 Answers  


How many types of sessions in asp.net?

0 Answers   MaxSolPro,






I have one .Net application and i have two databases which is in SQL server2000 and one more database in ORACLE? how can i access the database from different Databases?

3 Answers   eXensys,


What ASP.NET object encapsulates the state of the client and the browser? a) The Session object b) The Application object c) The Response object d) The Request object e) The Server object

7 Answers   Bunzl Vending, Syntax Softtech,


which is the new version of IIS SERVER

1 Answers  


How can we Maintain more than on config file in one .Net web application and how?

1 Answers   USi,


What’s the difference between Response.Write() andResponse.Output.Write()?

1 Answers  


What is the difference between executescalar and executenonquery?

0 Answers  


Explain the difference between globalization and localization techniques

0 Answers  


Categories