I have a windows service and a remote IIS server that need to communicate without any user interaction. As I can’t guarantee the two machines will be on the same network; the service will connect to the server’s public facing IP over the internet (so security is critical) and transmit encrypted binary back and forth. I am still trying to decide whether to use an ASP.NET restful service or WCF on the server side.
I like the idea of WCF and it exposing its interface so that I can reference and use directly with POCO’s in client development; but it’s something pretty new to myself and setting it all up and getting the security right is a pain (especially if you’re dropping HTTP for net.tcp)
ASP.NET is much easier to setup and run, but consuming the REST api from a http client object on the client side seems clunky. And as there’ll be no web pages; having HTTP requests and responses seems like redundant overhead.
From someone who knows a little bit more about WCF, would this be a more appropriate use for it over ASP.NET? Or an I missing something here?