Tuesday, September 15th, 2009
I ran into a couple of issues when writing an F# class to be consumed by C#. Specifically when it came to adding attributes to a property declared on an interface. You would expect the following code to decorate the SofteningLength property with the Dependency and DefaultValue attributes: ...
Tags: C#, F#, Gotchas, Mixed languages, Unity
2 Comments »
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) ...
Tags: EntLib, NBody.net, Parallel Computing, Prism, Technical computing, Unity, WPF
Comments Off on Mixed Languages: The Right Tool for The Right Job
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 ...
Tags: EntLib, p&p, Prism, Unity
1 Comment »
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 ...
Tags: EntLib, Prism, Unity, WPF
4 Comments »
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 ...
Tags: EntLib, Events, Microsoft, p&p, Unity
Comments Off on Unity for Silverlight from patterns & practices