What is the best method to get & display multiple client data on a wisej web page?
E.g. let’s say we have 10 client pc’s sending a temperature reading to a web app, & the web app displays ALL 10 temperature readings on the same web page.
How is this best done?
I’m trying to run Luca’s Example without success.
The ProcessRequest is not hinting(when I’m changing the pipeline mode to classic mode[with visual studio 2017] I’m getting
Wisej Internal Server Error.
See attached sample. It also shows how to updated the page in real time with a static event.
To add a client name use:
OK, so I’ve added a Handler called Handler1.ashx.vb
Then I assume I have to map the url, so I’ve added the following to web.config:
<add url=”~/Default.html” mappedUrl=”~/Handler1.ashx”/>
But processRequest is not being hit. I guess my mapping is wrong?
Can you help?
IIUC, you have multiple PCs not using a wisej app, but simply posting data to a URL (get or post doesn’t matter). Then you have a wisej monitor app that should be able to display the data collected by the PCs?
If that’s the case, you need a simple web handler to collected the data. It can be done simply with a sessionless ASP.NET ashx handler (https://www.dotnetperls.com/ashx). In the ProcessReequest method collect the data sent using a URL parameter and save it somewhere, file, database, …
Then the Wisej monitor application can read and display the data visually to any client that connected to the app.
Please login first to submit.