Urimapping with Caliburn Micro

Topics: Getting Started
Jun 9, 2011 at 1:15 PM

Hello,

I'm using Silverlight in an MVC webapplication.
Before I started using Caliburn Micro, I used the following code in my MainPage.xaml to map to my view in Silverlight.

            <navigation:Frame.UriMapper>
                <uriMapper:UriMapper >
                    <uriMapper:UriMapping Uri="/Taken/{id}" MappedUri="/Views/TakenView.xaml?id={id}"/>
                </uriMapper:UriMapper>
            </navigation:Frame.UriMapper>

I wonder now how I can do this using Caliburn Micro?
Thx for a quick response!


Best regards,

Jeffrey

Jun 9, 2011 at 11:40 PM

You might check out this recent discussion.  http://caliburnmicro.codeplex.com/discussions/260377  In it I mention two projects that include approaches for navigation.  The short answer is that CM doesn't support Silverlight's navigation framework directly.  I like Rob's recommendation but it isn't implemented yet, of course.