Does adding a method to a WCF ServiceContract break existing clients?

前端 未结 5 940
眼角桃花
眼角桃花 2020-12-31 08:27

We have an existing ServiceContract

[ServiceContract(Namespace = \"http://somesite.com/ConversationService\")]
public interface IConversationService
{
               


        
5条回答
  •  长情又很酷
    2020-12-31 08:52

    In general, adding to a message in SOA solutions does not break the contract. I believe that as long as you're not using a binary protocol (net.tcp), you'll maintain backward compatibility.

    I'm not sure about whether or not it will break your clients using binary bindings, though?

提交回复
热议问题