Subject: Chat Server
I use .net 3.5 and agsXmpp tools and create a web server for chat.
I just implement Precense subscribe and Text Messaging and Roaster IQ and also IQ-base avatar,
I found some problem in agsXMPP for example of them is Converting Photo tag to binary, it is not good news because you can not find base64 code, when you save Image file, because each format have a another SHA1 code, i deside to use orginal tag content and get PHOTO tag and use File object to save and SHA1 code.
there are some other section that agsXMPP convert orginal XML codes that is not very nice, for example if you need to create an HTML message and send to user it is not possible with agsXMPP becuase XML node will convert, that we do not need this.
You can download chat server and test or extend functionality. You need follwoing tools to open Project file:
1-Visual studio 2008 + C#
2-SQL SERVER 2000 OR LATER
3-Web Deployment Project for Visual Studio 2008 (you can find in microsoft website)
Update [5/11/2010] : Please note THERE IS NO FREE SOURCE CODE:
Pidgin Connection Preview:
![http://www.imgplus.info/fullsize/zaaxyzj4a8nrpzar730j.png [Image: http://www.imgplus.info/fullsize/zaaxyzj4a8nrpzar730j.png]](http://www.imgplus.info/fullsize/zaaxyzj4a8nrpzar730j.png)
Have good time!
I just implement Precense subscribe and Text Messaging and Roaster IQ and also IQ-base avatar,
I found some problem in agsXMPP for example of them is Converting Photo tag to binary, it is not good news because you can not find base64 code, when you save Image file, because each format have a another SHA1 code, i deside to use orginal tag content and get PHOTO tag and use File object to save and SHA1 code.
there are some other section that agsXMPP convert orginal XML codes that is not very nice, for example if you need to create an HTML message and send to user it is not possible with agsXMPP becuase XML node will convert, that we do not need this.
You can download chat server and test or extend functionality. You need follwoing tools to open Project file:
1-Visual studio 2008 + C#
2-SQL SERVER 2000 OR LATER
3-Web Deployment Project for Visual Studio 2008 (you can find in microsoft website)
Update [5/11/2010] : Please note THERE IS NO FREE SOURCE CODE:
Pidgin Connection Preview:
![http://www.imgplus.info/fullsize/zaaxyzj4a8nrpzar730j.png [Image: http://www.imgplus.info/fullsize/zaaxyzj4a8nrpzar730j.png]](http://www.imgplus.info/fullsize/zaaxyzj4a8nrpzar730j.png)
Have good time!

mahdiit
Show profile
Link to this post