4 ms·
Windows runs services underneath the Service Control Manager (https://docs.microsoft.com/en-us/windows/win32/services/service-control-manager https://docs.micro
by vbitz 6y ago
Windows runs services underneath the Service Control Manager (https://docs.microsoft.com/en-us/windows/win32/services/service-control-manager https://docs.microsoft.com/en-us/windows/win32/services/serv...). Services are expected to talk to the service control manager and at least announce when they started.
Services are also regularly run on different account especially the ones under "NT AUTHORITY" like "SYSTEM" and "NETWORK SERVICE".
As I recall Visual Studio contains some pretty good templates for writing services with C# but the underlying requirements are abstracted by the .net Framework.