Using NavigationService without XAML files
- by UnclePaul
I'm trying to create some pages in my Windows Phone application without the use of any XAML. Everything is working, however, I'm failing to use NavigationService/ Journal with this approach and all my attempts to utilize it are answered by the usual "No XAML was found at the location {0}'" response. Yes, I can add an almost empty XAML file to get everything working, but is this kind of boiler plate code really necessary?
Is it maybe possible to use the UriMapping to map certain Uris to specific classes instead of *.xaml files?