c# - Console App to Services -


i'm working on project use forex api.

so basicaly, do: loop check if new value exist, if exist, put in mongodb collection. if not, keep looping.

my console work fine need make works services.

what i've done:

  • i've create installerservice , service1.cs
  • i've used (environement.userinterface) in entry point make work console app make debug painless, , service.

when use installutil.exe, it's complete , appear in service.msc. can start , stop it.

but, seems don't receive data, , so, don't put in base. although it's work fine console app.

so, if have idea of come from. apreciate help.

if have console application suggest using topshelf


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -