WCF Configuration Manager

Finally after about 3 releases of WCF we got a configuration service sample on MSDN. I haven’t exactly played with the bits myself but did get a good review from some folks who wanted to use it for service management. This does allow a degree of configuration management for your WCF services and I believe can even be backed up to a datastore.


  • Configuration Service 2.03 is a reusable set of shared libraries that provides central configuration management for .NET applications, ASP.NET Applications, and WCF service hosts. It provides the ability to cluster multiple nodes, with load balancing and application-level failover across remote nodes; as well as a centralized configuration management user interface, cluster and endpoint status monitoring, and dynamic configuration updates across clusters without having to deploy new configuration files or stop/start active nodes.


  • The Configuration Service was born out of a practical need to make it easier to manage the .NET StockTrader composite application in distributed, clustered environments. The concepts were then abstracted such that any .NET application/WCF service host can implement the Configuration Service via the shared libraries provided. This is possible based on the use of base classes and .NET reflection within the shared libraries. For those familiar with WCF, it should only take a few hours to walk through the tutorial and test it out. It is designed such that existing WCF services can easily be integrated into a WCF service host (IIS, Windows Application, Console Application, or Windows NT Service) that implements the Configuration Service.

And yes there is a stock trader application along with it :).

Speaking at Techready

This was my first time presenting at Techready . Being a part of the performance dev team in WCF, this would be a natural topic to pick up. The audience was great and we were aware of some of the problems they mentioned and hoping to solve them in the upcoming releases of the framework.  Wenlong gave a pretty deep insight into the guts of the WCF pumps and throttle’s and I walked through some of the common scenarios we have discussed with customers and some demos on the tools we use and recommend.



Here is Wenlong’s post on Asynchronous Programing with WCF and also has the demo code we used for the presentation. http://blogs.msdn.com/wenlong/archive/2009/02/09/scale-wcf-application-better-with-asynchronous-programming.aspx  and a quick link to the demo.

Next time – A whole view of the WCF Pump.