使用 XMPP 和 C#.NET 创建 Instante Messenger
我一直在尝试使用 C# 在 ASP.NET 站点中创建即时消息应用程序。我开始了解 XMPP,它是 GChat 用于即时消息传递的协议。我想知道如何在我的 ASP.NET 应用程序中实现它。对此提供的任何见解将非常感激。
谢谢。
自然LV
I've been trying to create an Instant Messaging application in my ASP.NET site using C#. I came to know about XMPP which is a protocol used for instant messaging by GChat. I was wondering how to implement it in my ASP.NET application. Any insights provided on this will be very much appreciated.
Thank you.
NLV
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
C# 库的特点是它们大多数都是闭源的或经过许可的。我发现 MatriX(以前是 agsXMPP)就其功能而言是最好的(不过开发人员许可证可能有点陡峭)。 Jabber.net 可能也是一个不错的选择。
这不适合胆小的人。构建一个客户端可能没问题,但构建一个组件或部署一个服务器却让我头疼不已。首先了解它的工作原理可能是最好的方法。有一本叫做“XMPP: The Definitive Guide”的书,我发现它非常有用。
The thing about the C# libraries is that most of them are closed-source or licensed. I've found MatriX (used to be agsXMPP) to be the best in terms of what it can do (developer license might be a bit steep though). Jabber.net would probably be a good choice too.
It's not for the faint of heart. Building out a client might be ok but building a component or deploying a server caused me no end of headaches. Understanding how it works first might be the best approach. There is a book called "XMPP: The Definitive Guide" that I found really useful.
看看这本优秀的书,应该有您实现 IM 应用程序所需的内容
http://www.wrox.com/WileyCDA/WroxTitle/Professional-XMPP-Programming-with-JavaScript-and-jQuery.productCd-0470540710.html
Check out this excellent book, should have what you need to implement your IM app
http://www.wrox.com/WileyCDA/WroxTitle/Professional-XMPP-Programming-with-JavaScript-and-jQuery.productCd-0470540710.html