Last post Oct 04, 2013 05:06 AM by Haixia Xie - MSFT
Oct 03, 2013 09:52 AM|ee0jmt|LINK
I am familiar with winforms and slowly getting my head around ASP.net.
I have some dlls which I have created in c#. These currently run from a winforms application. The dlls constantly receive data from some hardware, processes it and displays it on the form. (Bit like a SCADA system)
What I would like to do is remove the winform and display the data on a ASP webpage. The webpage will need to retrieve the data from the dlls every second.
The way I see it working is having a standard windows service running the data capture and processing which the webpage interacts with to retieve the required data, but what is this interface?
I have had a little look at the WCF Service, but this is effectivly another website that services requests from the web page and I am not sure how to make it run continuosly. I have also read about SOAP and I think this would be well suited to my application,
but just not sure how to start.
All help appreciated!
Oct 04, 2013 05:06 AM|Haixia Xie - MSFT|LINK
According to you description, to get start you can take some examples on how display data fetched from database with WCF service. In this scenario, you might host the WCF service in a Windows Service. Below links for your information.
#WCF Example for Inserting, Deleting and Displaying Data using a WCF Service in ASP.NET
#How to: Host a WCF Service in a Managed Windows Service