What is a Windows Service and how does its lifecycle differ
from a "standard" EXE?
Answers were Sorted based on User's Feedback
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 |
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 |
2. I've a class Parent Class A and a Derived Class B. Here is a scenario. I've an instance of Class A as objA and an instance of Class B as objB. I can refer a child class variable as objB=objA, but cannot do objA=objB what is the reason?
what are constructors and destructors
What are the types of application software?
Explain how cache is used? : Dot net architecture
What is the purpose of Treeview control?
Is dim fs as filestreamobject is a managed code? : Dot net architecture
Can I customise the trace output?
What is .net mobile images control. Explain with an example? : Microsoft dot net mobile
Explain about common language infrastructure?
Can I create my own permission set?
how to change row background color in gridview
Explain about developer benefit from memory management?