Best practices for versioning your services with WCF?

拈花ヽ惹草 提交于 2019-11-27 00:22:41

问题


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?


回答1:


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




回答2:


See "Versioning WCF Services: Part I" and "Versioning WCF Services: Part II".

See also:

  • WCF Backwards Compatibility and Versioning Strategies – Part 1
  • WCF Backward Compatibility and Versioning Strategies – Part 2
  • WCF Backward Compatibility and Versioning Strategies – Part 3



回答3:


While not an instant answer for you, I found the book Learning WCF very useful; in it there's a small section on versioning (which is similar to Craig McMurtry's advice posted by Espo). If you're looking for a general intro book, it's very good. Her website has lots of good stuff too: Das Blonde

Edit: No sure why her site isn't responding; it's been a while since I've visited, so maybe she shut it down. No sure.



来源:https://stackoverflow.com/questions/36999/best-practices-for-versioning-your-services-with-wcf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!