I just wrote a new version of the WCF web service, and I want to make sure that I have not violated any changes regarding service contracts and data.
Returning to my days as a developer of VB6 Com Api, I recall how easy it was to point out the previous version of the component release at compile time and check the compiler for binary compatibility.
I am assuming something like that, called (hopefully) "Contract Compatibility Check". It will use metadata to perform a similar check with the one performed by VB6 dev env. This can be done as a separate build step that will run the utility program.
I am ready to admit that there is no such utility. If so, does anyone have any ideas on what the algorithm looks like to achieve this?
- Get metadata from the current version of the current service
- Get metadata from the new version of the service
- Check service contract and each data contract for compatibility. Only report abuse.
Step 3 seems to be difficult, but definitely automatic ...
web-services versioning backwards-compatibility metadata wcf
Andy mccluggage
source share