Invoking WCF service methods without having a proxy

前端 未结 3 1476
醉梦人生
醉梦人生 2021-01-23 02:31

Is there anyway I can invoke a WCF service without adding service reference or even having a proxy at all.

3条回答
  •  遇见更好的自我
    2021-01-23 02:54

    Brief answer: No

    WCF is based on the very fundamental principle of having a proxy between the client and the service being called. You cannot "get around" this.

    You have your choice of creating a proxy using Add Service Reference, or creating it in code - but you need a proxy - no way around that.

提交回复
热议问题