开发者

Exposing some live data on a website - New to ASP.NET, need guidelines

开发者 https://www.devze.com 2022-12-29 18:04 出处:网络
I have a large .NET based system running within the company intranet, which allows winforms users to see some live calculated numbers and a custom winforms control drawn live (but not real-time). The

I have a large .NET based system running within the company intranet, which allows winforms users to see some live calculated numbers and a custom winforms control drawn live (but not real-time). The Forms users can also affect the operation of the system.

I would like to just show the live numbers on a website, along with the custom control. Nothing needs to come back f开发者_如何学编程rom the web user, as the web app is meant to be just for monitoring. All the numbers can be calculated at the server.

It's been a long time since I touched ASP.NET, and I need to know how to proceed. What are the steps in building and deploying such a website? Any caveats I need to look out for?


I'm not completely sure from your description what you're after here.

I assume what you are looking for is a webpage which will display the calculated numbers, and update as they update without the page having to be refreshed.

in which case, it's not really an ASP.NET issue. You will need to write some JavaScript (I recommend jQuery) to poll the server at intervals and write any changed values to the page.

Is that what you meant?


As mentioned, ASP.NET AJAX or JQuery.

ASP.NET AJAX will probably be a bit more familiar if you're coming from winforms.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号