Lightweight Comet control
Categories: Multi-threading, How-to, Server Push, Comet, Custom Controls
|
Tags: Architects, Developers, C#, XML, 2. Intermediate, 3. Advanced, AJAX, ASP.NET, Pre v6.3, v6.3, v6.4 and Later
Revision:
1
Posted:
11/Jan/2009
Updated:
11/Jan/2009
Status:
Publish
Types: Code
|
Hi all, Attached is a custom control that will enable full blown comet (async) capabilities to your site. The custom control is a wrapper around the frozenmountain.com comet implementation. The control is using the hosted model provided by frozenmountain where the long-polling tcp connections are handled by their servers. The demo is build using webgui 6.3.11 The demo app has - WebSyncControl - custom control (really the client control but also has the server eventhandler for incoming messages) that needs to be added to a form with some connection info set (seem demo form1.cs) - WebSyncManager.cs which is a c# class used to perform publishing - WebSyncProxy.aspx which is needed if you want to use private keys for connecting/subscring to channels This will add comet capabilities to you site in a manner of minutes!! Ping me if you have any questions daniel[dot]dekkers[at]hotmail[dot]com Cheers, Daniel Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it. Terms of Agreement: By using this code, you agree to the following terms... 1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge. 2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws. 3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
About the author
Related Articles
|
Multi-threading
|
|
|
Tags:
Architects, Developers, 2. Intermediate, 3. Advanced, Customization, Optimizing Performance, v6.4 and Later
|
|
|
Tags:
Architects, Developers, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, Drag & Drop, Visual WebGui Pipeline, 1. Beginner, 2. Intermediate, Integration, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
Tags:
Developers, Data Binding, Events, 1. Beginner, 2. Intermediate, Integration, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
Tags:
Architects, Developers, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
|