The next thing I want to talk about in relation to WCF is the topic of endpoints. I’m going to take the sample Echo application that we have already built (see here first if you have not seen this sample application) and first publish the service on a different type of endpoint, e.g. Named Pipes. This is new to WCF and could not be easily accomplished in managed code (without Interop) before WCF – either with ASMX, obviously, nor with .Net Remoting.
Once we have done that I’m going to publish the service on three endpoints and have the client connect to any one of them as it chooses. The main point of interest here is that we will not be writing any code to achieve all of this (well, nearly no code); it will be accomplished purely with configuration (more...)