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?
dotnetterAMG...
Member
236 Points
520 Posts
wcf versioning scenario
Dec 20, 2012 09:23 PM|LINK
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?
kushalrdalal
Contributor
7200 Points
1288 Posts
Re: wcf versioning scenario
Dec 21, 2012 03:31 PM|LINK
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
My Blog
LinkedIn Profile