Top 20+ C# Windows Service Interview Questions and Answers - 1
Question: 1
Explain Windows service?
You often need programs that run continuously in the background. For example, an email server is expected to listen continuously on a network port for incoming email messages, a print spooler is expected to listen continuously to print requests, and so on.
Question: 2
What is the Unix name for a Windows service equivalent?
Daemon
Question: 3
How do you give Windows service specific permissions?
Windows service always runs under someone’s identity. Can be System or Administrator account, but if you want to restrict the behavior of a Windows service, the best bet is to create a new user account, assign and deny necessary privileges to that account, and then associate the Windows service with that new account.
Question: 4
Can you share processes between Windows services?
Yes.
Question: 5
How is development of a Windows service different from a Windows Forms application?
A Windows service typically does not have a user interface, it supports a set of commands and can have a GUI that’s built later to allow for easier access to those commands.
Error Report!
1000+ Civil Engineering Question Bank Pdf More
1000+ Construction Materials Objective Questions & Answers More
1000+ Fluid Mechanics Quiz Questions and Answers Pdf More
1000+ Fluid Mechanics Question Bank with Answers Pdf More
1000+ Fluid Mechanics Multiple Choice Questions and Answers Pdf More
Computer Fundamental Question Paper with Answer More
Biology Objective Type Questions and Answers More
1000+ General English Multiple Choice Questions with Answers More
Spring JBDC Interview Questions and Answers More
Oracle DBA Architecture Interview Questions and Answers for Experienced More