How to use .Net to develop something like java Applet

G

Grant

Dear All,

I have found many systems out there uses Applet to take care of real-time
data like market data, is there a way to use .Net to build something similar
to that? if there is one, from where I should look into it and start? please
advise

a Fan of .Net
Grant
 
N

Nathan Sokalski

You are forgetting a big difference between ASP.NET and Java/Java Applets.
ASP.NET generates HTML & Javascript at the server and then sends that to the
browser, but Java Applets actually send an applet. ASP.NET is only capable
of creating pages that display what can be displayed with HTML & Javascript
(or another scripting language, but usually Javascript). An Applet is
something that is included in an HTML page, but the actual Applet is a
separate file. One of the primary purposes of ASP.NET is to allow developers
to more easily create dynamic pages that allow data from databases and other
data sources to be included, and to more easily make more complex objects
(for example, compare the ASP.NET code for the Calendar Control to the
HTML/Javascript code that is generated).
 
S

Steve C. Orr [MVP, MCSD]

That depends on what exactly you mean by applet. But if you're talking
about having rich client side functionality then perhaps the approach of
using windows forms applications through the browser is what' youre looking
for. Here's more information on that topic:
http://SteveOrr.net/articles/WinformControls.aspx
 
G

Grant

Hi,

Thank you both Nathan and Steve for the advise, so is there a way I can
use ASP.net to display real time data like Market Data??

Grant
 
S

Steve C. Orr [MVP, MCSD]

Yes, it all comes down to how real-time you're talking about.
A web page could refresh itself every n seconds for example, to get the
latest data from the server.
If you don't want the entire page to refresh, you could use AJAX to call
back to the server and therefore only refresh the parts of the page that
need to be updated based on the latest data from the server.
 

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top