Abstract Factory Pattern (Example)

My work requires working with Windows Communication Foundation (WCF) services daily, and I typically have two (2) types of clients, either Excel, which is the largest part of my user base, or external applications, usually server-based. This example uses the idea of two (2) client types, each requiring a different host/port combination, which the abstract factory pattern will return.

Salient Characteristic(s)

Click the download button for AbstractFactoryExample.cs... Download Code