Ensuring WCF Routing Flexibility: Listing 1.

Interfaces for CustomerService and EnhancedService

namespace CustomerService
{
  [ServiceContract(Namespace="http://www.phvis.com/customermanagement")]
  public interface ICustomerService
  {
    [OperationContract]
    CustomerInfrastructure.Customer GetCustomerById(
      string CustID);
  }
}

namespace EnhancedService
{
  [ServiceContract(Namespace="http://www.phvis.com/customermanagement")]
  public interface ICustomerService
  {
    [OperationContract(name="GetCustomerById")]
    CustomerInfrastructure.Customer AuditableGetCustomerById(
      string CustID, 
      string AuditCode);        
  }
}

About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.