I have a Windows service that I converted to a WCF service that I want to host in a Windows Service. I need to do some specific tasks in the OnStart() and OnStop() just like I did when it was just a Windows service. My original Windows service
OnStart() is where I create the main worker thread. So how do I make a call into my WCF service from within the hosting service? For example in the hosting service's OnStart() I do a host.Open() then I need to call a method in my WCF service but how?