473,379 Members | 1,184 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,379 software developers and data experts.

Polling mechanism


Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/de...nethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike

Aug 4 '06 #1
5 2301
Take a look at either Anthem.NET or ATLAS. Anthem has a Timer control you can
use for this. I don't do much with ATLAS but I am sure it has something
similar.
ATLAS can be found at ASP.NET and Anthem.NET is on sourceforge.net
Pete

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Mike" wrote:
>
Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/de...nethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike
Aug 4 '06 #2
The most common solution these days is AJAX.
Here's more info on implementing Ajax in ASP.NET 2.0
http://SteveOrr.net/articles/Ajax.aspx

If you want to go bleeding edge you could use Atlas:
http://atlas.asp.net

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Mike" <no**@none.comwrote in message news:ub**************@TK2MSFTNGP03.phx.gbl...

Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/de...nethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike

Aug 4 '06 #3
Hi,

Mike wrote:
>
Hi everyone,

I would like to be able to send updates to my web page from the server.
If I understood correctly, this is not possible to achieve in a web
environment, unless some sort of polling mechanism is used. I read a few
articles and some of them suggest using some Javascript, while other
suggest using Web Services. Some ways to achieve some kind of polling
mechanism is on this document:
http://msdn.microsoft.com/library/de...nethowto08.asp

However, I am wondering what the best option would be for implementing a
continuous polling mechanism that frequently updates the web page. What
are the suggested options?

Thanks.
Mike
Just to be complete and in addition to what others already said, note
that using Web services implies using JavaScript.

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 5 '06 #4
I’ve been using Ajax controls from Telerik (www.telerik.com) to accomplish
that.
They work well for me!

"Mike" wrote:
>
Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/de...nethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike
Aug 5 '06 #5
technically, you _can_ send an "update" to the client from the server.

you'd need to use a java applet or flash control running on the client,
that you could send messages to from the server

flash control runs in browser
connects to web server, leaves channel open
web server sends a message to flash control when it wants
flash control raises some even that is handled in javascript
do stuff - such as update your grid
Mike wrote:
Hi everyone,

I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve some kind of polling mechanism is on this document: http://msdn.microsoft.com/library/de...nethowto08.asp

However, I am wondering what the best option would be for implementing a continuous polling mechanism that frequently updates the web page. What are the suggested options?

Thanks.
Mike

------=_NextPart_000_011F_01C6B7DF.DA2F70D0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 1715

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I would like to be able to send updates to my web
page from the server. If I understood correctly, this is not possible to achieve
in a web environment, unless some sort of polling mechanism is used. I read a
few articles and some of them suggest using some Javascript, while other suggest
using Web Services. Some ways to achieve some kind of polling mechanism is on
this document: <A
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto08.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto08.asp</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>However, I am wondering what the best option would
be for implementing a continuous polling mechanism that frequently updates the
web page. What are the suggested options?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Mike</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_011F_01C6B7DF.DA2F70D0--
Aug 5 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: MasterBlaster | last post by:
We are in the initial stages of design analysis and I'm trying to come up with some ideas on how to handle the feature our users are requiring from the new application. We are using VB.NET/window...
1
by: Daniel Bass | last post by:
hey guys. overview --------- I'm designing a messaging system that works on the principle of late binding to the I/O objects, depending on the .Net class libraries present in the local folder....
1
by: engwar | last post by:
Is anyone aware of any freely available software written in a .Net language for adding polling features to an existing website? I'm looking for just a polling component and not interested in...
1
by: kelvin.jones | last post by:
Hi guys, I have read several discussions on this group (and others) that talk about polling a server using ajax transactions and if it is possible to push to the client. The general consensus seems...
1
kudos
by: kudos | last post by:
Hi! Im kind of new to ajax (but actually an old timer when it comes to javascript). I have the following question. I have a webapplication that will be accessed from an ajax interface. However, I...
1
by: Nadia Amir | last post by:
I have a database which is very frequently updated .I want an option that user can specify that after how many minutes he/she wants to see those changes . Like a mechanism which would do 1.....
13
by: LordHog | last post by:
Hello all, I have a little application that needs to poll a device (CAN communications) every 10 to 15 ms otherwise the hardware buffer might overflow when there are message burst on the bus. I...
0
by: Suresh P | last post by:
Hi All, Can anyone suggest me a voting / polling tool to be used for photo contest. It is fine if I link out to their site. I want to upload all the photos, and allow visitors to vote ONE TIME...
3
by: Chris Mullins [MVP - C#] | last post by:
I'm sitting on the fence on this one, and wanted to get some other people's input. If you're a big B2B person, I would love to hear your feedback... I've got a SOA system. It's based on a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.