Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Joe Shum
Guest
 
Posts: n/a
#1: Nov 18 '05
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

Rutger Smit
Guest
 
Posts: n/a
#2: Nov 18 '05

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


Joe Shum wrote:
[color=blue]
> 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[/color]


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

Eliyahu Goldin
Guest
 
Posts: n/a
#3: Nov 18 '05

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


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

"Joe Shum" <Joe Shum@discussions.microsoft.com> wrote in message
news:141115A5-E6D4-4FA1-8187-98355F57BAD1@microsoft.com...[color=blue]
> 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,[/color]
and[color=blue]
> 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[/color]
a[color=blue]
> lot of table fields in it but without any input buttons etc. The page is[/color]
to[color=blue]
> stay on refreshing data changes at fixed intervals until the user clicks[/color]
off.[color=blue]
> 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[/color]


Closed Thread