A few weeks ago I mentioned that I was working on a "proto-framework" for XAML UI work. I ended up using that in some talks at the Visual Studio 2010 launch last week, and have put the code online
http://www.lhotka.net/weblog/VisualStudio2010LaunchDemos.aspx
Whether this Basic XAML Framework (Bxf) is useful to anyone or not I don't know - but it is now out there so you can look and see if it is valuable to you.
Does it play with Prism?
No, it is an illustration of how you can create a basic UI framework that might meet your needs that is much, much simpler than Prism.
This isn't part of CSLA - it is just something I've been using (in one form or another) to build various apps. Especially for my demos, Prism is super-overkill and requires bringing in Unity, which is super-super-overkill. When the support technology for a demo becomes so complex you need an hour or two to cover that before you can talk about the actual focus of the demo you know you are in deep trouble...
Bxf is, in my view, the minimum construct necessary to make MVVM work - something to route messages and something to construct views - all wrapped up in an implementation that can be entirely mocked out in a unit test environment.
Thanks, I'll check it out for sure.
I like the idea of a minimalistic approach to check out MVVM and even improve my testability.
Is this BXF framework adaptable back to CSLA version 3.8 ? Or is there anything that requires .Net 4 / CSLA 4?
It has very little dependency on CSLA - if I remember correctly it is just using a method out of Csla.Reflection that I didn't want to re-implement.
And it should have no dependency on SL4. It works in WPF or SL, and really has little to do with the actual XAML part of the UI at all.
Copyright (c) Marimer LLC