I am working on large enterprise system architecture. There are requirements to have several mobile clients, web UI and API for external applications. So, it is obvious that we should implement Service-Oriented Architecture. We will use WCF as service layer and ASP.Net MVC as framework for web application.
I am wondering how to implement interaction between web application and service layer. For most cases they will be hosted on the same server. Only large customers could use separate servers for service layer and web application. Usage of http binding to interact between web and service layer looks like really bad idea from the performance point of view. Is it possible to use WCF, hosted on the same server (or even inside the same .Net process) as MVC application without communication overhead?
You can try interprocess communication binding which is considered to be the most secure (doesn’t accept calls from another machine) and the most fastest (lighter than TCP) binding that WCF supports.