473,795 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1698
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******** ************@co mcast.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******** ******@TK2MSFTN GP11.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******** ************@co mcast.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
2085
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 (popup?) forms (Auto and HomeOwner respectively) and then write this collected data to an email message. Passing selected data to the child forms via the url is possible, but I'm certain I'd run into a length problem. Since I still have the parent...
7
5117
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 the following situations using MS .NET Winforms on the desktop: 1. Using .NET Web Services on server 2. Using Java Web Services on server
2
3216
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 database. Tried all possible combinations but it still fails. I have Windows 2003 server having SQL Server 2000 installed with SP2. The installation went Ok on a XP professional machine and I was able to create database and user logins etc on...
2
1437
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 that contains the SQL Server runs Win 2003 and is the primary controller for our domain. When I connect I receive the error "Login failed for user '(null)'. Reason:
13
2286
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). When I first create the SQL connection in VS.NET 2003, I test the connection and everything works fine. However, when I attempt to run the first stage of the app (the bound datagrid), I receive an error stating: login failed for user...
3
1954
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 without having to use client side polling and autorefresh. Once recieved on the client, i can use something like DHTML to add it to a table. Any suggestions on how to go about this or what is the best technology to use for doing this? Any sample...
7
3837
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 of the pubs database. However, i have trouble connecting to this database from VB.Net The connection string is:
7
14821
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 want to look at that data and filter it based on what is in it. I know that this could have been done with data sets and data views in asp.net 1.1 but how is this done now in asp.net 2.0?
3
4126
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 on any of several employees' desktop PCs. Now, they want to be able to "push" some of the data from the SQL Server database up to a database on a website (also SQL Server 2005).
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7540
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.