Archives for SOA Applications - Page 2
Abstract Factory in C# – Equally useful for manufacturing operations (services) and products
This article assumes some familiarity with the Factory pattern. The factory concept is equally useful for creating products (ProductFactory) or for creating services (ServiceFactory). A good way to start is…
WCF and Publish Subscribe–A Full Example: Running the Client (Subscriber)
Now that all the pieces are in place, we are ready to run our client ; The first error I encountered was: AddressAccessDeniedException: HTTP could not register URL http://+:8080/ Step…
WCF and Publish Subscribe–A Full Example: Client Code
The subscriber needs to know about the service. We will use to generate the proxy class for the subscribers to use. Step 1 : Ensure Service Loads Ok Use CRL…
WCF and Publish Subscribe–A Full Example: The Event Generator
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 Project) to…
WCF Publish Subscribe– A Full Example: The Service Side Part 2 (Implementation)
Our implementation is based on .NET events (for a non-events based implementation, check out the New IObserver IObservable interfaces in C# ). The idea of publishing goes hand-in-hand with 'raising…
WCF Publish Subscribe–A Full Example – The Service Side Part 1 (Interface)
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 Publisher service?…
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 foremost services…