如何创建类似 Microsoft Groove 的文件共享系统
我需要在.NET(c#)下创建文件共享和聊天系统,例如Microsoft Groove。但我不知道如何创建它。
我有一个问题:
-
Groove 使用对等 2 对等? 如果您知道这一点,请告诉我任何库。
-
Groove 正在使用什么服务?
-
Groove 使用什么技术进行网络服务?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Groove Networks 编写了自己的代码,主要基于他们自己的点对点通信专利算法。 Groove 接管 Microsoft 后(或者反过来),他们的一些想法在现在称为 FeedSync 的技术中浮现出来(http://en.wikipedia.org/wiki/FeedSync)
您可能会认为 FeedSync 框架是开始使用此技术的好地方,或者如果您想利用一组Microsoft 提供的服务,那么 Mesh 技术可能适合您: http:// msdn.microsoft.com/en-us/sync/default.aspx
Groove Networks wrote their own code, largely based on their own patented algorithms for peer-to-peer communications. After Groove took over Microsoft, (or was it the other way round), some of their ideas surfaced in the technology called now called FeedSync (http://en.wikipedia.org/wiki/FeedSync)
You might consider the FeedSync framework a good place to start playing with this texchnology, or if you want to make use of a set of services provided by Microsoft, then the Mesh technology might work for you: http://msdn.microsoft.com/en-us/sync/default.aspx
对于 C#,最简单的选择是 Windows Communication Foundation (WCF)。执行 Google 搜索 WCF P2P 得到了一些有用的起点。可以使用 .NET 代码中的本机 API,但这比使用 WCF 的对等通道路线复杂得多。
您可以查看以下示例聊天应用程序。我不知道 Groove 使用什么,但它出现在 Vista 之前,所以他们可能已经编写了自己的 P2P 网络代码。
From C# your easiest option is Windows Communication Foundation (WCF). Doing a Google search for WCF P2P resulted in some useful starting points. It is possible to use the native APIs from .NET code but this is going to be a lot more involved than going the Peer Channel route with WCF.
Here is a sample chat application that you can take a look at. I don't know what Groove uses, but it was around before Vista so they may have written their own P2P networking code.
由于 Vista Microsoft 在 Windows 中包含了一个 p2p 库,因此您不必自己编写整个库:
http://msdn.microsoft.com/en-us/library/bb756984。 ASPX
Since Vista Microsoft has included a p2p library in Windows, so you don't have to write the whole library yourself:
http://msdn.microsoft.com/en-us/library/bb756984.aspx