XAML UI proto-framework

XAML UI proto-framework

Old forum URL: forums.lhotka.net/forums/t/8811.aspx

RockfordLhotka posted on Monday, April 19, 2010

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


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.

RockfordLhotka replied on Monday, April 19, 2010

Dan Billingsley

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.

Imker replied on Wednesday, April 21, 2010

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.

asp2go replied on Monday, April 26, 2010

Is this BXF framework adaptable back to CSLA version 3.8 ? Or is there anything that requires .Net 4 / CSLA 4?

RockfordLhotka replied on Monday, April 26, 2010

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