<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Networking and Web Services</title><link>http://forums.asp.net/1009.aspx</link><description>Discuss your issues with the client and server interaction in AJAX using web services and other transports used by AJAX</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Chat Style app using AJAX</title><link>http://forums.asp.net/thread/1580773.aspx</link><pubDate>Thu, 15 Feb 2007 18:28:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1580773</guid><dc:creator>kalel</dc:creator><author>kalel</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1580773.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1580773</wfw:commentRss><description>&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.asp.net/Themes/default/images/icon-quote.gif" /&gt; &lt;strong&gt;jodywbcb:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;here is some sample code of a chat app&amp;nbsp;using Ajax from Rick Strahl's site- &lt;a style="TEXT-DECORATION:none;" href="http://west-wind.com/weblog/posts/10335.aspx"&gt;MS AJAX Samples updated for 1.0 Release Version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortantely - for the same reasons the other responder stated - server to client polling really can not be done.&amp;nbsp; What you could do is have two seperate polling requests 1. to get bit flag if work is to be done 2. if bit flag from first poll is true - then poll get the work item.&amp;nbsp; If load is an issue - you could instead of a bit flag pass the next next polling interval (which could increment or decrement according to number of users - a value of 0 would indicate - get work item.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just a suggestion...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hy Jody! I was testing your chat and looks great!&lt;/p&gt;
&lt;p&gt;Do you wanna join us in the post for help in the constrution of a web messenger?&lt;br /&gt;&lt;br /&gt;Can I put your link in the post? For who is searching exactly for chat?&lt;/p&gt;
&lt;p&gt;My objective using this post is create a 'point' for join all related&amp;nbsp;information about chats/web messengers/ instant messengers that uses the AJAX / ATLAS technology an, just like me, it's encountering dificultts to start.&lt;/p&gt;
&lt;p&gt;So i'll wait your answer,&lt;/p&gt;
&lt;p&gt;Thanks Man&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Chat Style app using AJAX</title><link>http://forums.asp.net/thread/1580753.aspx</link><pubDate>Thu, 15 Feb 2007 18:15:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1580753</guid><dc:creator>kalel</dc:creator><author>kalel</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1580753.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1580753</wfw:commentRss><description>&lt;p&gt;Hi Kevin, join us in this post: &lt;a href="http://forums.asp.net/thread/1373404.aspx"&gt;http://forums.asp.net/thread/1373404.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We searching for something similar, I think.&lt;/p&gt;
&lt;p&gt;The versions of the examples that is in this post are in PHP and ColdFusion, but we'll try doing a version for .NET (or searching the one that is already in .NET) and join our efforts to get something that look with the Cute Chat and Cute Web Messenger from CuteSoft!&lt;/p&gt;
&lt;p&gt;SO, JOIN US!&lt;/p&gt;
&lt;p&gt;Kalel&lt;/p&gt;</description></item><item><title>Re: Chat Style app using AJAX</title><link>http://forums.asp.net/thread/1552672.aspx</link><pubDate>Mon, 29 Jan 2007 04:33:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1552672</guid><dc:creator>jodywbcb</dc:creator><author>jodywbcb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1552672.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1552672</wfw:commentRss><description>&lt;p&gt;here is some sample code of a chat app&amp;nbsp;using Ajax from Rick Strahl's site- &lt;a style="TEXT-DECORATION:none;" href="http://west-wind.com/weblog/posts/10335.aspx"&gt;MS AJAX Samples updated for 1.0 Release Version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortantely - for the same reasons the other responder stated - server to client polling really can not be done.&amp;nbsp; What you could do is have two seperate polling requests 1. to get bit flag if work is to be done 2. if bit flag from first poll is true - then poll get the work item.&amp;nbsp; If load is an issue - you could instead of a bit flag pass the next next polling interval (which could increment or decrement according to number of users - a value of 0 would indicate - get work item.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just a suggestion...&lt;/p&gt;</description></item><item><title>Re: Chat Style app using AJAX</title><link>http://forums.asp.net/thread/1551669.aspx</link><pubDate>Sat, 27 Jan 2007 20:44:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1551669</guid><dc:creator>Odegaard</dc:creator><author>Odegaard</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1551669.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1551669</wfw:commentRss><description>&lt;p&gt;AJAX uses XmlHttpRequests. The problem is that HTTP protocol is a specific polling protocol and doesn't support pushing. No matter how cool ajax is, you won't get out of this limitation. You have the following workarouund:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hide a Flash&amp;nbsp;"proxy" control that creates an open&amp;nbsp;TCP/IP connection to a server. The problem is that flash cannot use ports below 1024, so the user might not have access through their firewall.&lt;/li&gt;
&lt;li&gt;Do the above using a java&amp;nbsp;applet that runs on port 80. Java isn't installed on as many clients as flash though&lt;/li&gt;
&lt;li&gt;Use Polling&lt;/li&gt;
&lt;li&gt;Use all of the above, and automatically downgrade depending on open ports and/or availability of flash/java&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Chat Style app using AJAX</title><link>http://forums.asp.net/thread/1551594.aspx</link><pubDate>Sat, 27 Jan 2007 18:56:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1551594</guid><dc:creator>kevin_w_kraus</dc:creator><author>kevin_w_kraus</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1551594.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1009&amp;PostID=1551594</wfw:commentRss><description>&lt;p&gt;I need to understand the feasibility of building an AJAX application that allows for online presence like a chat app and allows for server to client callbacks to forward work events to the client who is logged on.&lt;/p&gt;
&lt;p&gt;In other words, I want to avoid a timed polling scenario by allowing a user to log into an application, have the server component manage their presence online and when work needs to be done the server would find out who is online, assign the task to them and call the users browser&amp;nbsp;(using an&amp;nbsp;AJAX enabled listener?) to notify the user of the work that needs to be done.&lt;/p&gt;
&lt;p&gt;We are talking about tens of thousands of users logged on at once, so polling every 5 seconds for work is not an option.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;</description></item></channel></rss>