View Single Post
Old 10-19-2006   #2 (permalink)
Arkady Frenkel


 
 

Re: How to reference a service that runs in the same process?

If you mean, that you want to communicate from one service with another, you
can use proxy exactly as client or create channel to second service's entry
point directly :
channelFactory = new ChannelFactory<YouSecondServiceInterface>(binding,
address);

YouSecondServiceInterface channel = channelFactory.CreateChannel();

Arkady

"Steve B." <steve_beauge@com.msn_swap_msn_and_com> wrote in message
news:e0JW4T18GHA.4304@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> I'm building a service that can act both client and server (two servers
> can communicate each others).
>
> How can I set my project in order to create the service reference ?
>
> thanks,
> Steve
>



My System SpecsSystem Spec