How to call WCF Service on Local Machine
We have an environment where multiple WCF services are hosted on a single VM and (multiple VM in) server farm behind a fire wall. There are certain services that make calls to other services. Currently we call these services over http. The call gets routed to the load balancer, and each call is routed to any one of the VMs.
For performance reasons, we want to call service on local machine. If possible we want to avoid overhead of serialization and deserialization and directly call it (using MEF?). I would like to know how other people are handling this kind of situation.
Could you not just set up an additional endpoint for local machine.
"Provides a secure and reliable binding that is optimized for on-machine communication."