Adding methods to the webservice: do old clients need to update web references?

后端 未结 5 1706
日久生厌
日久生厌 2020-12-10 11:35

ProductA uses our only web service, which is a separate deployment from ProductA. We deploy both to production.

Later, we\'re writing ProductB. During that effort,

5条回答
  •  借酒劲吻你
    2020-12-10 12:13

    While I agree that there probably won't be any problem by not updating the service references of existing clients, you should also ask what problems there will be if you do update the service references of existing clients. Be sure to test that scenario as well.

    Although we tend to think about adding method to the service as something that's only important on the server, keep in mind that when a service reference is updated, this is actually changing the code of the client.

    Some organizations believe in testing client code when the client code changes.

提交回复
热议问题