I am building a silverlight app and would like to add p2p capabilities – allowing users to send each other data.
- Is it available out of the box?
- Should I wait for silverlight 4.0?
- Do I need a p2p server?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think you could make this work in Silverlight with a serverless environment.
You could probably do whatever you’re looking to do with a server and a web service, although this technically wouldn’t be a peer-to-peer application anymore. You’d have to send your messages to the server, and the server would then send to the appropriate client(s). If you follow this route you might also want to look into WCF RIA Services for Silverlight as it has built-in support for things like authentication.
EDIT — I don’t know if this is an option but it looks like someone has come up with a way to do P2P in Silverlight. However, it requires that you run the app in Windows Live Messenger:
http://www.codeplex.com/SilverlightP2P