Wednesday, September 05, 2007 11:36 AM
kolbis
Windows Communication Foundation Scenario Samples
Lately I have been working on a design for a web application. For that application I was going to use .NET 3.5 features, which includes WCF, Linq, XLinq, Linq to Sql and WF.
My Data layer had to reside on a windows service which exposes WCF services. One requirement I had to implement was a fail over scenario. In other words a load balancer that can redirect requests to an active data layer.
For example: lets say I installed three data layers (each one is a windows service), and there are ten clients that addresses those data layers. Suddenly, one of my data layer crushes and all the clients that addressed that specific layer will start getting exceptions.
N clients (web applications) with 3 data services holding the data layer.
So, I was looking for a solution that will be able to select a responsive data layer.
Microsoft had released scenario samples for WCF that include a router sample, which demonstrates how to implement a service that provides basic routing and load balancing functionality.
That was exactly what I was looking for.
תגים:WCF, .NET Framework 3.5