Question

i'm about to decide on technology choices for an agent based application used in the transportaion systems domain.

basically there will be a central system hosting the backend, and multiple agents located across town (installed on desktops) that communicate with devices/kiosks collecting data and then transmitting them back to the central server. the central server could also be hosted on the cloud.

following are important

  • securing the data and communications between the device and the agent and the agent and central server.
  • agents should be easily installable with little or no configuration.
  • near 100% uptime and availability

Does WCF fit the bill here? if so what binding types should i go for? netTCP or wsHttp with SSL/HTTPS?

Was it helpful?

Solution

WCF is definitely a fit choice for this kind of scenario. For your bindings, the actual question is what technology you are going to use. Do you want to make the agents run in a non .NET environment like Java, then you should chose for wsHttpBinding. This binding communicates through SOAP and is very interoperable.

If you chose to use .NET agents, you might as well use netTcpBinding because they use the same WCF frameworks. It also supports binary encoding. If you really need to make a choice, take a look at the MSDN Documentation.

For your agents you could use a simple console application that runs in the background as a Windows service. WIX can help you with that (install an application as windows service), but thats all I know. WIX can also help you with basic installing and configure everything for you but it has a high learning curve so you might need to invest time in it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top