473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1681
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Al Jones | last post by:
I have an application - an insurance form - which requests personal data on form one. If the user checks auto or homeowner (or both) on the first form I need to collect data from each of these...
7
by: DW | last post by:
Hi, Here is my question. I want to push security prices to the desktop from the server. Whenever there is a new price in the database, the server notifies the client. How can this be done in...
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
2
by: DavidR | last post by:
Hi, My development machine is running Win XP SP2 and IIS. I'm developing an ASP.NET application on this machine that accesses data from a SQL Server database on another machine. That machine...
13
by: Edward Mitchell | last post by:
I have a problem that involves the error I receive when attempting to complete the asp.net web application example (Walkthrough: Creating a Web Application Using a Third-Party Business Object). ...
3
by: TheFarSeer | last post by:
Hi, i have a server that recieves data often from a third party data provider often. I would like to PUSH this data to the client webpage, WITHOUT having to force the user to hit refresh or...
7
by: John Blair | last post by:
Hi, I am trying to get the datacache1 sample working on my PC. I have downloaded the MSDE 2000 sample SQL Server database and the pubs sample database and installed it. I can view the contents...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
3
by: BobRoyAce | last post by:
I am using Visual Studio 2008 w/ VB.NET. For the database, I am using SQL Server 2005, which is running on a dedicated server box. I am creating a WinForms application for a client. It is run...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.