You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$10
For Premium members:
This article shows how to consume a WCF Pub Sub Service to broadcast a message to the outside world.
My previous article (WCF With Publisher and Subscriber Pattern: Part 1) explained how to develop a WCF pub sub service, here I will explain how to consume that service to broadcast your message out to the world (Subscriber clients). Consuming this type of service is very easy but a little different from consuming a normal WCF Soap service. Download the source code and host it in your local computer. I have also attached the source code of the WCF pub sub service with this article. Here I will create an application that will broadcast messages using a service to clients (out to the world), this type of application is called a publisher in the pub sub pattern of WCF.
Learning WCF: Practical Implementation