Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can use either Native ASP.Net approach or Silverlight approach to develop the good looking chat application.</p> <p>The only concern is how your application is responsive to the end user. Here <strong>responsive</strong> means how the system let the user to feel the presense of other users and real time chat experience. This is refrenced sometime as <strong>really real time</strong>. (Like gmail &amp; facebook webchat allows the user to see the user presense saying "user is typing or idle")</p> <p>You can achive this level of realtime appearance using both these technologies. But implementation are little different.</p> <p>In order to achive this, you must implement a duplex communication between the browser and server. So then server will notify the client if there is any response from other user or his presense.</p> <p><strong>In ASP.Net way:</strong></p> <ul> <li>This is been completely controlled by AJAX.</li> <li>You have to simulate the Duplex communication using AJAX. <strong>By default HTTP doesnt support duplex</strong>. Its oneway. It only responses to client request. It cant directly invoke client method .</li> <li>There are existing techniques available to achive this. One of the approach is called <strong>COMET</strong> or <strong>ReverseAJAX</strong>.</li> <li>Its nothing but the long living AJAX calls, and will respond to the client if there is a expected event happening in server side, otherwise it stays calm. This <a href="http://en.wikipedia.org/wiki/Comet_(programming)" rel="nofollow noreferrer">Comet (programming)</a> wikipedia article explains more about the approach.</li> </ul> <p><strong>In SilverLight way:</strong></p> <ul> <li>Silverlight gives much better User experience compared to normal HTML pages. </li> <li>By using SL, you can make use of <a href="http://msdn.microsoft.com/en-us/library/ms731064.aspx" rel="nofollow noreferrer">WCF Duplex services</a> to implement the server push technique. As per MSDN, it says</li> </ul> <blockquote> <p>A duplex service contract is a message exchange pattern in which both endpoints can send messages to the other independently. A duplex service, therefore, can send messages back to the client endpoint, providing event-like behavior</p> </blockquote> <ul> <li>Here the <a href="http://weblogs.asp.net/dwahlin/archive/2008/06/19/pushing-data-to-a-silverlight-client-with-a-wcf-duplex-service-part-ii.aspx" rel="nofollow noreferrer">nice example</a> implementing duplex in SL.</li> </ul> <p>Hope this helps</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload