WCF contract changes that affect clients

前端 未结 5 1408
南笙
南笙 2021-02-01 10:31

I was curious if someone could outline which types of WCF contract (interface) changes on the server side would break a client trying to send in a message, and why. I believe W

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 11:02

    I think the best practice is to think of contracts as unbreakable, hmmm, contracts. Don't change them once they're published. It's easy enough to create a new contract with the changes you want, and to expose the new contract on a new endpoint.

提交回复
热议问题