开发者

Windows Service Interactions

开发者 https://www.devze.com 2023-02-08 14:44 出处:网络
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 serviceco

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

精彩评论

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