How to build Server app for auto repeat refresh display at the Bro

G

Guest

Hi All:

I am pretty new at ASP.NET development. Currently I need to build a Web
Server app using C# and ASP.NET to automatically and repeatly refresh data
changes at fixed intervals (2 to 30 secs) occurring at the server side, and
refresh them at the table fields at the Browser screen without any user
intervention.

Typically, the user submit to the Server URL which returns a page that has a
lot of table fields in it but without any input buttons etc. The page is to
stay on refreshing data changes at fixed intervals until the user clicks off.
This application is used for a traditional Dashboard display setup.

Can anybody please advice me on which HTML or Server Control, Caching
methods, timers methods, or any special technique or code samples, etc. -
used under the C# and ASP.NET environment to achieve this??

Thanks - JS
 
R

Rutger Smit

Joe said:
Hi All:

I am pretty new at ASP.NET development. Currently I need to build a Web
Server app using C# and ASP.NET to automatically and repeatly refresh data
changes at fixed intervals (2 to 30 secs) occurring at the server side, and
refresh them at the table fields at the Browser screen without any user
intervention.

Typically, the user submit to the Server URL which returns a page that has a
lot of table fields in it but without any input buttons etc. The page is to
stay on refreshing data changes at fixed intervals until the user clicks off.
This application is used for a traditional Dashboard display setup.

Can anybody please advice me on which HTML or Server Control, Caching
methods, timers methods, or any special technique or code samples, etc. -
used under the C# and ASP.NET environment to achieve this??

Thanks - JS


QUOTE: 'without any user intervention'
My advice: build a Windows Service and run that on the server (or other
machine).

If you want to dom something with data on a webserver with a certain
interval and you relay on visitors... you're asking for problems.

Best practice could be developing a class library (.dll) with the core
functionality. To test all the stuff in the classes you can either build
a webpage that uses the library or an executable. If you've got it
working you can build a Windows Service that does exactly the same. Why?
Programming a Windows Service can be more or less difficult because it's
programming without an interface.

A Wndoows Service is a program that starts when Windows starts and that
keeps on running in the background.

//Rutger
 
E

Eliyahu Goldin

If you put the following line into the HTML header

<META HTTP-EQUIV="REFRESH" CONTENT=n>

the page will be updated every n seconds.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top