I know a ton of folks are running a webserver on the N+2 for status/control but is anyone using WCF? I'm leaning towards not wanting a full webserver on the device due to performance reasons, trying to figure out ways get status and have control in real time without the overhead of the full web server.
Anyone using WCF?wcf
Posted 25 June 2013 - 10:06 PM
Posted 26 June 2013 - 01:12 AM
I had sort of considered the above, and sort of ruled it out because I couldn't find a clean example of a very simple webserver. While looking at just using UDP and passing the data that way I stumbled across WCF and thought "Gee whiz, a built in high level way of transferring data, seems sweet!" Then I found a very simple to understand and use webserver example that wasn't big and messy and I just opted to go with it instead. I am just going to be passing XML back and forth between the N+2 and an intermediate webserver which will handle all the pretty bits, or to an application on my PC for monitoring/control which will handle the pretty bits, or to an app on my phone which will....
I think you get the point. The web server I ended up with is simple, and lets me integrate it into my already existing functions, so that's nice and I was able to easily understand what it was doing when I looked at it, which is important to me. it also doesn't appear to suck up memory, so that's also nice.
Posted 20 October 2013 - 10:54 AM
just use a basic socket implementation and return some json strings
if the request is good i parse it and throw it in an handler class that executes the operation and its response will go back on the socket as json.
works great with AJAX requests
Also tagged with one or more of these keywords: wcf
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users