Mixed Languages: The Right Tool for The Right Job

Tuesday, June 16th, 2009

The N-body modeling code and visualization I’ve been working on finally got off the ground in some sort of reasonable form last night. Here you can see it running with 5000 stars at over 30 frames a second. It’s been working from the start (agile/TDD isn’t something you just write about) ...

Using Prism With EntLib and Unity

Thursday, March 5th, 2009

I thought I'd collect together a series posts related to some of my adventures using EntLib 4.1 and Unity 1.2 with Prism 1.0 to build a composite WPF application. Using the EntLib Validation Block with WPF Part 2: Configuration Based Validation  Using ...

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 ...

A Combined Module Enumerator For The Prism Bootstrapper

Thursday, December 4th, 2008

I ran into the following issue with p&p's Composite WPF guidance (Prism). Prism allows you to configure your application with multiple modules. These can either be statically referenced or dynamically discovered at runtime In my scenario I have two assemblies each containing a module; assembly A and assembly B, containing ...

Adding Store and Forward support to the Prism EventAggregator

Tuesday, November 25th, 2008

I was playing around with the Prism event aggregation feature recently and came across a scenario that is common enough that I thought I'd post the solution here. The Prism event aggregator feature allows you to create loosely coupled communication between components in your application using a publish-subscribe model. 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)...