45 subscribers








My Favorite SOA Patterns
  |  Technology  |  Science Stuff  |  Travel  |  Entertainment  |  Buddhism  |  Finance and Investing  |  Austin  |  India  |  Diet, Health  |  Petitions, Causes  |  

The Publish Subscribe Pattern in C# and some gotchas | Posted on by Anuj Varma

NOTE: With the introduction of two new interfaces in .NET 4.0, there is a cleaner way to implement the Publish Subscribe pattern in C# .NET. However, the ‘gotchas’ listed here still apply. Even with the new interfaces, one still needs … Continue reading


The Problem Statement
Imagine that you have just built a sophisticated application to work against a SQL Server database. You followed a best-practices approach and separated out your presentation, business logic and data access layer. Your application is service oriented – … Continue reading


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 to look at what the client really needs from the … Continue reading


This entry is part 6 of 6 in the series WCF Publish Subscribe - A Full Example in C#, Step by Step

This entry is part 6 of 6 in the series WCF Publish Subscribe – A Full Example in C#, Step by StepNow that all the pieces are in place, we are ready to run our client program.  The first error … Continue reading


WCF and Publish Subscribe–A Full Example: Client Code | Posted on by Anuj Varma
This entry is part 5 of 6 in the series WCF Publish Subscribe - A Full Example in C#, Step by Step

This entry is part 5 of 6 in the series WCF Publish Subscribe – A Full Example in C#, Step by StepThe subscriber needs to know about the service. We will use svcutil.exe to generate the proxy class for the … Continue reading


This entry is part 4 of 6 in the series WCF Publish Subscribe - A Full Example in C#, Step by Step

This entry is part 4 of 6 in the series WCF Publish Subscribe – A Full Example in C#, Step by StepThe purpose of the Event Generator code is to publish events (New Magazine Issue Available)  that subscribers will get … Continue reading


This entry is part 3 of 6 in the series WCF Publish Subscribe - A Full Example in C#, Step by Step

This entry is part 3 of 6 in the series WCF Publish Subscribe – A Full Example in C#, Step by StepOur implementation is based on .NET events. The idea of publishing goes hand-in-hand with ‘raising an event’  – and … Continue reading


This entry is part 2 of 6 in the series WCF Publish Subscribe - A Full Example in C#, Step by Step

This entry is part 2 of 6 in the series WCF Publish Subscribe – A Full Example in C#, Step by StepThe Service code contains of an Interface and its implementation
 
The Interface defines all the capabilities of the service. What … Continue reading


WCF and Publish Subscribe– A Full Example: Introduction | Posted on by Anuj Varma
This entry is part 1 of 6 in the series WCF Publish Subscribe - A Full Example in C#, Step by Step

This entry is part 1 of 6 in the series WCF Publish Subscribe – A Full Example in C#, Step by StepImagine that you are a magazine publishing company. Your revenue depends on subcribers – in particular, happy subscribers. To … Continue reading