Using the EntLib Validation Block with WPF Part 2: Configuration Based Validation

Saturday, January 31st, 2009

In part 1 I covered using the EntLib Validation Block in combination with the Presentation Model pattern described in the p&p’s Composite Application Guidance for WPF (Prism). The end result was a presentation model decorated with attributes which describe how to validate the model and surface validation errors to the ...

Using the EntLib Validation Block with WPF Part 1: Attribute Based Validation

Wednesday, December 24th, 2008

Getting validation working with data binding in WPF is pretty simple as .NET 3.5 added support for IDataErrorInfo. You can read more about this on the WPF SDK blog and in the databinding overview article on MSDN. This post outlines how you can go about extending this validation approach to ...

Unity for Silverlight from patterns & practices

Monday, December 15th, 2008

A month or so back p&p shipped Unity 1.2 a dependency injection container for .NET. Just in time for the gift giving season comes Unity for Silverlight! So if you want to use DI as part of your Silverlight application today you can. Unity for Silverlight December 2008 Release (1.2) The ...

Composite Application Guidance for WPF with EntLib 4.1

Tuesday, November 18th, 2008

I've been working on an application that uses Composite Application Guidance for WPF (Prism) and wanted to upgrade to use Enterprise Library 4.1 rather than the 4.0 version that Prism originally shipped against. Turns out updating this is pretty straightforward (but not trivial)...

patterns & practices Ships More Stuff!

Wednesday, November 5th, 2008

Much of this happened last week but what with my white paper to finish and preparing for the p&p Summit I didn't get time to blog about it. Anyway here goes, it's a long list... Unity 1.2 Added an interception mechanism (extension) and integration of the Policy ...