I am trying开发者_如何学运维 to create a service with Visual Express for C#. But cannot find the template. I want to create a simple service which reads every X hours or day an XML files containing date and time and attributes.
Then the services will send a syslog message to a remote host containing the task attribute in message.
Any suggestion?
Use Windows Scheduler, and call a normal C# program to handle the XML file.
AFAIK you cannot create windows services with Visual Studio Express.
EDIT: Here a service is created in VS 2005 Express, so it is still possible.
EDIT1: How to: Write Services Programmatically in VS 2010
精彩评论