469,950 Members | 2,008 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

pushing data from the server (disconneted aspnet server approach)

I have been trying to find a way for a server to push data to a client (aka
disconnected server approach) but iam still stuck. This is the scenario: a
client is using a webclient to communicate with the aspnet server. Is there
a way for a server to send data to a client without a client requesting it??
I know it can be done using sockets but does aspnet provides a way? can a
webservice do it?? iam trying to find another solution besides sockets and
my preference is using aspnet if possible since i want to use subdomains
rahter than ipaddress.
thanks all
Dec 26 '05 #1
2 1563
A simple way which isn't exactly what you might want would be to use AJAX.
The client would still poll for the data, but it could do so on a timer
running in the background.

My AJAX.NET article has an example that does just this...it looks like it's
a push even though it's really pull...

http://msdn.microsoft.com/library/de...SpicedAjax.asp

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!

"radiax" <ra****@comcast.net> wrote in message
news:P9********************@comcast.com...
I have been trying to find a way for a server to push data to a client (aka
disconnected server approach) but iam still stuck. This is the scenario: a
client is using a webclient to communicate with the aspnet server. Is
there
a way for a server to send data to a client without a client requesting
it??
I know it can be done using sockets but does aspnet provides a way? can a
webservice do it?? iam trying to find another solution besides sockets and
my preference is using aspnet if possible since i want to use subdomains
rahter than ipaddress.
thanks all

Dec 26 '05 #2
Thank you, Iam going to try using AJAX but I still doubt if it will satisfy
my demands. More likely I may end up abandon aspnet and go straight to the
bones, using sockets. I try to avoid sockets with the intentions of using
subdomains in aspnet under the 2 reasons: 1- I use a shared single ip
address and 2- i want to use port 80.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:#P**************@TK2MSFTNGP11.phx.gbl...
A simple way which isn't exactly what you might want would be to use AJAX.
The client would still poll for the data, but it could do so on a timer
running in the background.

My AJAX.NET article has an example that does just this...it looks like it's a push even though it's really pull...

http://msdn.microsoft.com/library/de...SpicedAjax.asp
Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!

"radiax" <ra****@comcast.net> wrote in message
news:P9********************@comcast.com...
I have been trying to find a way for a server to push data to a client (aka disconnected server approach) but iam still stuck. This is the scenario: a client is using a webclient to communicate with the aspnet server. Is
there
a way for a server to send data to a client without a client requesting
it??
I know it can be done using sockets but does aspnet provides a way? can a webservice do it?? iam trying to find another solution besides sockets and my preference is using aspnet if possible since i want to use subdomains
rahter than ipaddress.
thanks all


Dec 26 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Al Jones | last post: by
2 posts views Thread by DavidR | last post: by
13 posts views Thread by Edward Mitchell | last post: by
3 posts views Thread by TheFarSeer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.