Monthly Archives: May 2008

P2P and WCF: Exposing a Service

The last post explained how to find a PNRP registered service. What else do you have to do for e.g. exposing a WCF service over the P2P infrastructure? Code-wise nothing. If the WCF service listens on all NICs (the default), … Continue reading

Posted in WCF | Leave a comment

P2P and WCF: Finding a Service

After you have registered a service, the next step is to find it again. The System.Net.PeerToPeer API includes a PeerNameResolver class which does that. You input the peer name and get back the registration details (IP addresses, port, comment and … Continue reading

Posted in WCF | Leave a comment

P2P and WCF: Registering a Service

To make a service discoverable using the P2P infrastructure, you first have to do a so called peer name registration. A peer name registration has the following properties: a name (there are two different flavours: secured and unsecured – more … Continue reading

Posted in WCF | Leave a comment