I want to host a WCF on a separate thread. There will be a windows application which will communicate with this WCF. The WCF will be hosted inside this windows application and UI thread of this windows application will communicate with this WCF hosted in a worker thread.
WCF will be a duplex with named pipes.
How do I achieve the communication between the UI thread and worker thread of this WCF?