简体   繁体   English

如何创建像Microsoft Groove这样的文件共享系统

[英]how to create file sharing system like Microsoft Groove

I need to create file sharing and chatting system like Microsoft Groove under .NET (c#). 我需要在.NET(c#)下创建文件共享和聊天系统,例如Microsoft Groove。 But i don't know how to create it. 但是我不知道如何创建它。

I had a questions: 我有一个问题:

  1. Groove using peer 2 peer? 槽使用对等2对等? if you know about this, tell me any library. 如果您知道这一点,请告诉我任何图书馆。

  2. Groove is using what service? 沟正在使用什么服务?

  3. Groove is using what technology for network service? Groove正在使用什么技术进行网络服务?

Groove Networks wrote their own code, largely based on their own patented algorithms for peer-to-peer communications. Groove Networks编写了自己的代码,主要是基于他们自己的专利算法进行点对点通信。 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 ) 在Groove接管Microsoft之后(或者反过来),他们的一些想法出现在现在称为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 您可能会认为FeedSync框架是开始使用这种技术的好地方,或者如果您想使用Microsoft提供的一组服务,那么Mesh技术可能会为您工作: http : //msdn.microsoft.com /en-us/sync/default.aspx

From C# your easiest option is Windows Communication Foundation (WCF). 从C#中,最简单的选择是Windows Communication Foundation(WCF)。 Doing a Google search for WCF P2P resulted in some useful starting points. Google搜索WCF P2P可以找到一些有用的起点。 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. 可以使用.NET代码中的本机API,但这要比使用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. 我不知道Groove使用了什么,但是它在Vista之前就已经存在,因此他们可能已经编写了自己的P2P网络代码。

由于Vista,Microsoft在Windows中包括了p2p库,因此您不必自己编写整个库: http : //msdn.microsoft.com/zh-cn/library/bb756984.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM