Welcome to MSDN Blogs Sign in | Join | Help

StockTrader RI using Castle Windsor

I am supposed to be working an article, but couldn't resist posting on this one. Our most recent Prism drop (now called Composite Application Guidance) includes a spike we did where we converted our reference app to use Castle Windsor. It was a pretty straight forward effort basically involving a search and replace for wherever we used Unity. We also had to create a Windsor adapter. Fortunately no attributes to remove or anything. There are a few places where we're pretty sure there's a more "Windsor-esque" solution than the way we have done it. I am sure once you guys get your hands on it, we'll soon know what those are.

Get the latest drop here

Published Thursday, June 12, 2008 9:19 PM by Glenn Block

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: StockTrader RI using Castle Windsor

Just to let you know I love your last release. I am using your design patterns in a large WPF app, and just have to say: great work ! I learn a lot of things from each release of Prism.

IMHO, something is missing in the CompositeCommand pattern: an undo/redo feature (I'm adding it in my code). Do you plan to add it to the framework?

Friday, June 13, 2008 6:18 AM by PierreMF

# re: StockTrader RI using Castle Windsor

@Pierre

Thanks for the feedback. As far as the CompositeCommand, we're currently don't have any plans for the feature. If you are buildin one, it would be great to have you add it to the Prism contrib project (http://www.codeplex.com/prismcontrib">http://www.codeplex.com/prismcontrib). Also if you think this is something we should add, please go and add a workitem in our CodePlex site (http://www.codeplex.com/prism).

Friday, June 13, 2008 12:34 PM by Glenn Block

# re: StockTrader RI using Castle Windsor

Amazing progress the team is making :)

Can I ask the why behind making the change from Unity to Castle Windsor on this last drop?

Keep up the great work and the amazing diligence in answering blog comments :)

Saturday, June 14, 2008 11:15 PM by bob53050

# re: StockTrader RI using Castle Windsor

@bob

We're not. This is just a spike (exploration) to illustrate that it can be done, which is why it is in our spikes folder. The main RI itself is still using Unity.

Sunday, June 15, 2008 1:23 AM by Glenn Block

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker