tags:

views:

778

answers:

6

Can someone point me in the right direction? I wish to distribute a WCF peer to peer cloud over the internet. So far I've seen examples of how it works on the same subnet. I wish to push it a little further.

+1  A: 

I believe you'll need to look into using IPV6 Teredo Tunneling for crossing NAT and firewalls, so maybe check out this on WCF transports from MSDN.

Also, take a look at the PRNP series Kevn Hoffman did this year.

J Healy
+1  A: 

Depending on your application you may want to check out Groove Virtual Office, which was recently acquired by Microsoft and shipped with Office 2007. I don't believe it uses WCF, but it certainly uses .NET and has an SDK available that should allow you to create a P2P application with ease.

If you are developing for the enterprise, be prepared to deal with scalability problems.

Berkshire
A: 

I will look into Live Mesh, it may be the solution to my problem.

Alexandre Brisebois
A: 

I'm also facing the same problem, you have got the solution????

no not yet, i may need to create a wcf service to bridge both peer networks over the internet
Alexandre Brisebois
A: 

So even though this is a year later...

Haven't you tried out the One click deployment method? Or what about just having the MSI install package for download? Is the deployment or the communication that you are trying to solve. Sounds like a distribution problem.

The method for getting pat NAT problems is called "Nat Traversal".

kurtnelle
no this is not a distribution problem. the problem is related to the actual technology. the peer to peer binding is limited to a subnet.
Alexandre Brisebois
So basically you want to connect peers from behind a NAT? Well then you're in a for a good time. So WCF doesn't natively support this (as I've come to realize) which means that you either have to use UPnP or implement NAT Traversal (http://en.wikipedia.org/wiki/NAT_traversal) to get the peers to communicate. Interestingly enough I'm also delving into this area to write a library for c# that would be able to do this. Perhaps we should collaborate?
kurtnelle
A: 

Azure Service Bus should take care of this issue... it can handle callbacks from P2P clients

Nick