What steps do I need to take to use WCF Callbacks?

后端 未结 4 751
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 06:46

I am trying to learn WCF. I have a simple client and server application setup and upon pressing a button on the client, it gets an updated value from the server.

4条回答
  •  攒了一身酷
    2020-12-02 07:16

    If I'm reading your question right, you want to have a two-way conversation between the client and the server (the server can communicate back to the client). The WSDualHttpBinding gives you this functionality.

    The unfortunate reality with WCF is that there is no such thing as a simple example. It requires you to define contracts, configure the services, and use a host, and create client code. Take a look at this article for a somewhat simple example.

提交回复
热议问题