I have created and started a windows service (with exe as MyService.exe) using C# on the other hand I follow up this link for self-hosting: https://codeopinion.
hook
nssm
jqprint
barman
waze
webshot
sound-recognition
uiaccessibility
sbcl
jsonb-api
protoc
envi
boids
jexl
pocket-ie
android-studio-import
complex-data-types
filter-driver
rusoto
unluac
client-side-validation
gather
google-fabric
akka-remote-actor
eccodes
accessory
qtp
jupyter-widget
jsr380
dotnet-watch