live data??? possible in .net???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is it possible to display 'live' data in .net via a web page? by live data i mean data that is changing dynamically, say once a second

i am guessing i need to use java to go this route because MS has no support for it. however, if it is possible to do with .net, i'd be very interested

my thought is to have some kind of socket connection to the server where data is refreshed at a high rate of at least 1 time a second, possibly more (we've had the need for upwards of 10 times a second in the past)

we have windows forms applications with real-time data that we want to web-enable. static data isn't of much use, we need it changing actively

thank you for any suggestions
 
you'll have to reload the page or use some sort of clientside component to
refresh

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


jhill said:
is it possible to display 'live' data in .net via a web page? by live
data i mean data that is changing dynamically, say once a second.
i am guessing i need to use java to go this route because MS has no
support for it. however, if it is possible to do with .net, i'd be very
interested.
my thought is to have some kind of socket connection to the server where
data is refreshed at a high rate of at least 1 time a second, possibly more
(we've had the need for upwards of 10 times a second in the past).
we have windows forms applications with real-time data that we want to
web-enable. static data isn't of much use, we need it changing actively.
 
Curt is right. Asp.net is just the same as most other dynamic technologies
in that all it does is generate html on the fly and send it to a browser.
Just like JSP, ASP, PHP or whatever.

You can either refresh the page or use an applet.

You might also look for something called "server push" on google. I heard
there might have been a way to do what you were asking in IE 5.5+ but I'm
not at all sure about it.

Simon
 
How about using an embedded .Net Windows Form?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

jhill said:
is it possible to display 'live' data in .net via a web page? by live
data i mean data that is changing dynamically, say once a second.
i am guessing i need to use java to go this route because MS has no
support for it. however, if it is possible to do with .net, i'd be very
interested.
my thought is to have some kind of socket connection to the server where
data is refreshed at a high rate of at least 1 time a second, possibly more
(we've had the need for upwards of 10 times a second in the past).
we have windows forms applications with real-time data that we want to
web-enable. static data isn't of much use, we need it changing actively.
 
jhill said:
is it possible to display 'live' data in .net via a web page? by live data i mean data that is changing dynamically, say once a second.

Yes, but not using ASP.NET alone.
i am guessing i need to use java to go this route because MS has no support for it. however, if it is possible to do with .net, i'd be very interested.

Not quite Java, the solution need not be so complex.

Look up using the XMLHTTP object (for internet explorer) and it's
other-browser versions. With a bit of DOM-based scripting and some help
from remotely loaded XML, you can basically keep a page up-to-date
without having to postback every 10 seconds.

If you're after total ubiquity - that is, you want the data to be
available on the widest range of platforms and browsers - then consider
using XML with Flash, or Java as you say.
 
Back
Top