how to run arbitrary commands as a service

I want to show how to run the arbitrary commands as a service, even a PowerShell script if you want. This started with Core .NET that currently doesn’t have the classes that support the services (although hopefully they will be added in the future). But overall I find pretty annoying that there is no easy…

0

Windows service example in C++

Implementing a Windows service is not an easiest thing. There are examples on MSDN but they’re not exactly straightforward. There is an example in classic C, and I’ve seen the examples in C# as well (there is actually a C# service boilerplate in Visual Studio that can be used as a project starter). And after you’ve created…

2

how to install a new Windows service

I’ve started writing another post on how to write a Windows service and realized that I want to show first something simpler: how to install  the service in the Windows system, provided that you already have the binary. This is fairly simple to do right, and yet much confusion exists around it. For example, if you…

0