Monthly Archives: December 2010

Validation Messages – MVVM Approach

What follows is a simple way to carry along a collection of Validation Messages in your ViewModel, and then bind them to the UI at runtime.   The first step is to create an ObservableCollection of validation messages on the … Continue reading

Posted in Development | Tagged , | Leave a comment

HttpContext.Current.Session – Unit Testing

Here is a quick clever trick for failing over the connection string, in the case that it doesn’t already exist on the HttpContext.Current.Session object. As you may know, Unit Testing frameworks don’t always mock out the HttpContext class properly, if … Continue reading

Posted in Development | Tagged , | Leave a comment