Hi,
I'm going through the sample C# program on https://www.c-sharpcorner.com/UploadFile/b1df45/web-api-self. It's by Jasminder Singh and is titled "Web API Self-Hosting Using Windows Service: Part 1". I have successfully compiled it, and successfully installed it as a Windows Service (called WebAPISelfHosting). But when I try to start the service I get the message:
The WebAPISelfHosting service failed to start due to the following error:
The executable program that this service is configured to run in does not implement the service.
Any help is seriously appreciated. Thanks.