transparentproxy

Queueing method calls - any idea how?

I write a heavily asynchronseous application. I am looking for a way to queue method calls, similar to what BeginInvoke / EndInvoke does.... but on my OWN queue. The reaqson is that I am having my own optimized message queueing system using a threadpool but at the same time making sure every component is single threaded in the requests ...

How to get the RealProxy when I know only the transparent proxy.

I have a transparent proxy, for instance one generated by WCF: ChannelFactory<ICalculator> channelFactory = new ChannelFactory<ICalculator>( new NetNamedPipeBinding(), "net.pipe://localhost/WcfTransparentProxy/Calculator" ); ICalculator calculator = channelFactory.CreateChannel();...