locked
wcf versioning scenario RRS feed

  • Question

  • User1610691276 posted

    Hello - WCF supports strict versioning and Agile versioning. Say I have a service method GetCustomer(int id). Version 1 of this method returns a Customer object with FirstName and LastName. 

    Consider a scenario where some clients require the Customer object to be returned with an additional property - TotalSpent.  The method signature will not change.  What are the suggested options for WCF versioning for this scenario in a strict versioning context?

    Thursday, December 20, 2012 5:23 PM

Answers

  • User-1662538993 posted

    I am not sure but you can use abstract class as your base class in which you can add more properties as required.

    Check this link-

    http://stackoverflow.com/questions/8807188/wcf-handle-versioning/8808893#8808893

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, December 21, 2012 11:31 AM