WCF Service With A Worker Thread?

The general pattern is to start the service host in the on start of service. Once Started you can create your worker thread. The worker thread and the service calls will need to access a shared data structure which will need to be synchronized.

Have the service deposit items on the shared data object and signal a Wait handle to run the worker thread. Once the worker completes reset the state of the wait handle.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions