Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best practices for versioning your services with WCF?

I'm starting to work with my model almost exclusively in WCF and wanted to get some practical approaches to versioning these services over time. Can anyone point me in the right direction?

like image 299
Toran Billups Avatar asked Aug 31 '08 18:08

Toran Billups


People also ask

What is contract Versioning?

Versioning is only used when the Expiration Date of a current contract is changed. All other changes are made by updating and saving the current version of the contract. A contract version can have three version statuses: • Draft. • Current.

What is a data contract?

A data contract is a formal agreement between a service and a client that abstractly describes the data to be exchanged. That is, to communicate, the client and the service do not have to share the same types, only the same data contracts.


1 Answers

There is a good writeup on Craig McMurtry's WebLog. Its from 2006, but most of it is still relevant.

As well as a decision tree to walk through the choices, he shows how to implement those changes using Windows Communication Foundation

like image 88
Espo Avatar answered Oct 05 '22 00:10

Espo