I am currently trying to get a reverse ajax server working. I can't find any tutorials or guides, could you perhaps run through the steps to creating the web service and calling it from the client script?
I understand how to setup the web service, im just not sure how to keep the connection open indefinatly and then how to push the data back to the client?
Any help is much appreciated.
Regards
Adrian
"When the power of love overcomes the love of power, the world will know peace"
Use WebSync, a standards-compliant Comet server for the Microsoft Stack (IIS/C#/ASP.NET/etc). Simple integration with IIS (just 2 web.config lines) and simple access to events (before publish, after subscribe, etc etc).
There isn't a simpler or better Comet server for .NET users available.
scorpion4000
Member
44 Points
13 Posts
Comet (Push or Reverse Ajax) Support
Feb 10, 2007 08:32 PM|LINK
Wikipedia: Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request it.
It allows creation of event-driven web applications which are hosted in the browser.
Girijesh
Contributor
3126 Points
664 Posts
Re: Comet (Push or Reverse Ajax) Support
Feb 26, 2007 09:30 AM|LINK
Can you suggest me how to use comet in asp.net?
Thanks
http://www.girijesh.in/
Girijesh
Contributor
3126 Points
664 Posts
Re: Comet (Push or Reverse Ajax) Support
Feb 26, 2007 09:32 AM|LINK
If you find any useful link or tutorial. Please let me know.
Thanks
http://www.girijesh.in/
scorpion4000
Member
44 Points
13 Posts
Re: Comet (Push or Reverse Ajax) Support
Mar 04, 2007 02:00 PM|LINK
i programmed a little webserver (with system.net.socket listening on port 8080) running in the global asp.net application which
is able to handle "long-live" -xmlhttp-requests and support connection-keep-alive (for a better performance).
on my site (mysite.com/chat/default.aspx) there is an iframe which opens (mysite.com:8080/connector.htm)
the connector.htm starts a xmlhttprequest and when the server responses (Push) the data
will be written into the cookies, because the default.aspx on port 80 can't access to the iframe on port 8080 (browser restriction)
the script on default.aspx checks the cookies every 50ms for new data.
my community chat is working fine with that solution.
Endurance Ma...
Member
10 Points
78 Posts
Re: Comet (Push or Reverse Ajax) Support
Jul 29, 2008 03:21 PM|LINK
Hi
I am currently trying to get a reverse ajax server working. I can't find any tutorials or guides, could you perhaps run through the steps to creating the web service and calling it from the client script?
I understand how to setup the web service, im just not sure how to keep the connection open indefinatly and then how to push the data back to the client?
Any help is much appreciated.
Regards
Adrian
bkumarbk
Member
26 Points
14 Posts
Re: Comet (Push or Reverse Ajax) Support
Apr 05, 2009 11:15 PM|LINK
A COMET based ASP .net grid
http://www.codeproject.com/KB/aspnet/CometMultiClient.aspx
tanvir.faraj
Member
2 Points
3 Posts
Re: Comet (Push or Reverse Ajax) Support
Jul 23, 2009 04:31 AM|LINK
http://biese.wordpress.com/2009/03/03/using-server-push-aka-reverse-ajax/
.net sample:
http://www.dotnetspider.com/resources/28131-Reverse-Ajax-Using-Hidden-IFrame.aspx
AspGuru72
Member
2 Points
1 Post
Re: Comet (Push or Reverse Ajax) Support
Aug 20, 2009 11:54 PM|LINK
Use StreamHub Comet Server - they have a decent .NET API so you can stream data from .NET and read it the other side using JavaScript code.
Note: the features page says the .NET adapter isn't released - but it is - I've emailed them.
comet reverse ajax
jvenema
Member
24 Points
7 Posts
Re: Comet (Push or Reverse Ajax) Support
Nov 28, 2009 10:57 PM|LINK
Use WebSync, a standards-compliant Comet server for the Microsoft Stack (IIS/C#/ASP.NET/etc). Simple integration with IIS (just 2 web.config lines) and simple access to events (before publish, after subscribe, etc etc).
There isn't a simpler or better Comet server for .NET users available.
.Net comet reverse ajax reverse-ajax long-polling comet
JashuaNet
Member
86 Points
41 Posts
Re: Comet (Push or Reverse Ajax) Support
Apr 13, 2010 11:20 AM|LINK
Check PokeIn for powerfull .Net based DWR like comet support.
.Net comet reverse ajax DWR