Property Change Notification Using A Weak Referencing Strategy

02 Aug 2009

Features Desktop and Silverlight CLR compatibility Capability to perform assignment and raise appropriate events before and after assignment. Weak referenced Provides for both expression tree and loosely typed strings Uses extended EventArgs to supply before and after values Extended PropertyChangingEventArgs for cancellable changes Configurable to use caching of EventArgs to decrease heap fragmentation Comes with unit tests for Desktop and Silverlight CLRs Introduction INotifyPropertyChanged is a ubiquitous part of Silverlight and WPF programming. It is...

Read more

Transparent Wcf Channel Management With Unity

30 Jul 2009

Introduction It is generally considered good form to define a separate ServiceContract interface for all WCF services. By doing so, it decouples the contract from the implementation. Still, if we consume a service contract via conventional means such as generating a proxy using a ChannelFactory or using a ServiceReference generated proxy, we couple the service with the WCF infrastructure. So what could be wrong with that? Well, say if we have a local version of...

Read more

A Location Agnostic Message Service

15 Jun 2009

When developing an application, clearly it’s prudent to have uniformity in the manner certain tasks are carried out, thereby avoiding violation of the DRY principle. An example of this is displaying common dialog boxes. But wait, if you think this post is just going to be about an abstracted dialog box system, then think again. While Calcium does provide a common dialog system, it also allows us to display a dialog to the user from...

Read more


31 May 2009

For the past few weeks I have been working on a new project that I have called Calcium. Today, I did a simultaneous release of the source on CodePlex and published the first of a series of three or four articles describing its inner workings. I really like this project, and I highly recommend downloading the source code and taking it for a spin. Calcium provides much of what one needs to rapidly build a...

Read more

Clog 1.8 Released

10 Apr 2009

I am pleased to announce a new release of the Clog Client Logging framework. There are several new features and enhancements. New SkipFrameCount configuration attribute for allowing Clog to be wrapped by a custom adapter. Log point short-circuiting, providing the ability to determine if a log level is enabled in order to improve performance by avoiding unnecessary string concantenation etc. Formatting overloads. Improved concurrency of log strategies. Fail safety improved. Default WCF configuration for Silverlight...

Read more