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/.

comments powered by Disqus

Featured

  • .NET for Apache Spark Debuts in Version 1.0

    The open source project .NET for Apache Spark has debuted in version 1.0, finally vaulting the C# and F# programming languages into Big Data first-class citizenship.

  • In-App Reviews Come to Xamarin.Forms Android

    Android is playing a little catch-up to iOS regarding in-app review functionality, just now coming tp Microsoft's Xamarin.Forms implementation.

  • C# Slides in Usage Ranking of Programming Languages

    "The fact that C# lost three places in the ranking of language communities during the last three years is mostly explained by its slower growth compared to C/C++ and PHP."

  • Telerik UI for Blazor Updated

    Progress announced an update to its Telerik UI for Blazor components, targeting Microsoft's open source Blazor framework that lets C# coders create web apps without having to rely upon JavaScript.

  • Infragistics Unveils UI Components for Blazor

    Infragistics, specializing in third-party UI/UX controls and tools, unveiled a new offering targeting Blazor, Microsoft's red-hot open source framework that allows for C#-based web development instead of traditional mainstay JavaScript.

Upcoming Events