Hi there,
How can I achieve this scenario?
I have a WCF service hosted in a windows form and whenever a client of the service calls a method on the service i want the service to be able to write a message to a textbox on the windows form.
I was thinking that i would make my WCF service a Singleton, pass my form using an Interface that the form implements, into the service and then store that instance. then when a client calls the service i can simply use the form instance to write to the textbox.
I cannot do this of course as i cannot pass a Form into a WCF service.
Any ideas or code samples?