Luke
Luke

Reputation: 8407

Windows Service Interactions

I´m new to write windows services and I was searching around collecting necessery info and howtos. What I´m missing 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?

Upvotes: 0

Views: 293

Answers (1)

Reed Copsey
Reed Copsey

Reputation: 564383

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

Upvotes: 3

Related Questions