WCF method called twice

前端 未结 7 1163
一个人的身影
一个人的身影 2021-02-02 15:41

I have a web service which is returning data to the desktop application. The problem I am having is, when the web service returns small volume of data everything works fine but

7条回答
  •  情书的邮戳
    2021-02-02 16:37

    I too had this issue. For me, it was happening because I had a [DataMember] property with a get{} but no set{}. After adding a set{} this behavior stopped.

提交回复
热议问题