DEV Community

GeneralistProgrammer
GeneralistProgrammer

Posted on

c# windows service tutorial using topshelf

Ever wanted to learn how windows services can be built in c# check out this tutorial.

https://generalistprogrammer.com/csharp/c-windows-service-tutorial-using-topshelf/

https://youtu.be/8PAGoUYwuXQ

Top comments (2)

Collapse
 
cwevenson profile image
Cam Evenson

I'm getting a 1053 error when I try to run my service with a username and password, but it will run in system local mode. I will need to get this resolved because the service will be installed on a production server.

I do not know if the issue is a result of my lack of experience with C#. But I can share the code if it helps.

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers don’t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.

If you choose to do so, you also have the option to add a canonical URL directly to your post.