Monthly Archives: May 2008

P2P and WCF: The PeerName Tool

To play around with peer name registration and resolution, I wrote a little tool that makes this easy (yes – I know all this functionality is also available via netsh – but I wanted something more specialized). Registering Resolving PeerName.zip … Continue reading

Posted in WCF | Leave a comment

Using IdentityModel: Tracing

While reading through some of the code of System.IdentityModel, I noticed that there is some diagnostics tracing going on. Just add a trace listener for the source ‘System.IdentityModel’ to your config file. HTH

Posted in IdentityModel, WCF | Leave a comment

P2P and WCF: Some Resources

If you want to know more about P2P and its related protocols and components, here’s a list of online resource I found useful while researching: P2P team blog Peer Channel blog Peer Channel protocol specification P2P on TechNet Teredo “The … Continue reading

Posted in WCF | Leave a comment

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