WCF and Publish Subscribe– A Full Example: Introduction
Imagine that you are a magazine publishing company. Your revenue depends on subcribers – in particular, happy subscribers. To ensure that your subscribers stay happy, one of the…
Read more →WCF Publish Subscribe – A Full Example in C#, Step by Step
Imagine that you are a magazine publishing company. Your revenue depends on subcribers – in particular, happy subscribers. To ensure that your subscribers stay happy, one of the…
Read more →The Service code consists of an Interface (IMagazineService) and its implementation (MagazineService). The Interface defines all the capabilities of the service. What do we really want from a…
Read more →Our implementation is based on .NET events (for a non-events based implementation, check out the New IObserver IObservable interfaces in C# 4.0). The idea of publishing goes hand-in-hand…
Read more →The purpose of the Event Generator code is to publish events (New Magazine Issue Available) that subscribers will get notified about. Add a new Console App (Add New…
Read more →The subscriber needs to know about the service. We will use svcutil.exe to generate the proxy class for the subscribers to use. Step 1 : Ensure Service Loads…
Read more →Now that all the pieces are in place, we are ready to run our client program. The first error I encountered was: AddressAccessDeniedException: HTTP could not register URL…
Read more →