views:

256

answers:

2

Can you become a client of a WCF Service from with the Process that is hosting the WCF Service? I have tried creating seperate App Domains within the same process and still no success. The service is confirmed to be available on Http, Net.TCP and Net.Pipe.

Thank you for any help!

Nat

+1  A: 

You might try using IDesign's ServiceModelEx assembly which simplifies the process of creating an in-process client for a WCF service.

The assembly include an InProcFactory class which dynamically creates a Net.Pipe endpoint and a proxy for your service.

ServiceModelEx from IDesign.net

Aviad P.
A: 

Yes. After hosting the WCF service, You have to call the method on the hosted service in a seperate thread.

samson