开发者

Windows Service in C# Express

开发者 https://www.devze.com 2023-04-09 00:50 出处:网络
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 da

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

0

精彩评论

暂无评论...
验证码 换一张
取 消