473,831 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2332
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.comw rote in message news:ub******** ******@TK2MSFTN GP03.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.D A2F70D0
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.D A2F70D0--
Aug 5 '06 #6

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

Similar topics

10
1961
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 forms Feature Requested: A user will be entering some data that will trigger an a notification event. For example I am a research analyst entering a sell recommendation for a stock. Once that action is preformed a notification should be sent...
1
3432
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. I may have an output File.DLL, and ODBC.DLL, that instantiate an abstract parent to stream data i receive... an input .DLL allows data to be streamed
1
1601
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 installing something like DotNetNuke just to get polling. Thanks
1
2429
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 to be "no, there is no way to push to client using ajax, you have to poll." Knowing this, I assumed meebo.com and gmail talk are using the same technique for their ajax chatting apps. However, when I use Fiddler to sniff their http requests, I...
1
2345
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 have the following problem, my webapplication could potentially need to update itself once a second. Do I have to create a polling meachnism in my javascript that tries to connect to my application every second or so, or is there another way, for the...
1
1322
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.. Poll database after a user defined period and then bring those changes ,mean while displaying the stale data (like Cache ) 2.. Also allow user to choose if he/she wants to see/notify updates as they come
13
11293
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 would implement an interrupt driven model, but the external device (which is connected via USB) does not support interrupts therefore the device needs to be polled at a specific interval. So my question is how can I implement a "deterministic"...
0
1099
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 only. I think this would be a part of the tool, and also there is some sort of mechanism in place to safeguard as well as possible keeping people from voting more than once. Thanks in advance.
3
4131
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 combination of WCF Services and ASP.Net Pages. The consumers of this service are companies all over North America. Essentially, we've got some long running operations that a vendor can kick off. These opertaions can take anwhere from 5 minutes to 2...
0
9793
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10494
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...
1
10534
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7748
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
5620
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...
0
5785
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3964
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3076
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.