Hi All,
I do a bit of Azure development and I was keen to see how hard it would be to upload some sensor data from my Netduino devices to an Azure Event Hub so I could monitor the water and power consumption of my house. The Netduino doesn't (currently) support HTTPS so (inspired by Clemens Vasters @clemensv) I built a light weight Service Gateway to forward the data to Azure.
The service gateway runs as a Windows Service so it could be installed on pretty much any PC (e.g. I could host it on my WIndows PVR which is on 24x7). For testing I have been using one of my CodeClub non-invasive current clamp boxes The design and code assumes that the devices and gateway will be running on a secure LAN and the volume of traffic will not be high.
For more info see my blog where the source can be downloaded.
The Windows Service has 4 command line parameters
- Install - install the service
- Uninstall - uninstalls the service
- Debug - runs the service in interactive mode
- Name - allows you to specify the name of the service in the Services Manager
It's a proof of concept which I will enhance as time allows. Next steps most probably an installer using the Wix# tooling.