开发者

Windows Service Interactions

I´m new to write windows services and I was searching around collecting necessery info and howtos. What I´m mis开发者_运维百科sing is the interaction between my webapp and the service. The servicecontroller helps me sending messages to the service and gives me the main status of the service.

Is there a way to get custom messages, set custom properties and get properties? If there are not, should I use a file for both the service and the web app where both can read and write on, like a settings file in xml or are there better methods?

Is there a way to get the messages in the corresponding eventlog, how do i access them?


You may want to look into Windows Communication Foundation. This would allow your service to "serve" information to your WebApp.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜