<Application 
    x:Class="FramePageNavigation.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:system="clr-namespace:System;assembly=mscorlib"    
    xmlns:navigation="clr-namespace:System.Windows.Navigation;assembly=Microsoft.Phone">

    <!--Application Resources-->
    <Application.Resources>
        
        <system:String x:Key="AppName">SEITENNAVIGATION</system:String>

        <!-- Definition des UriMapper -->
        <navigation:UriMapper x:Key="UriMapper">
            <navigation:UriMapper.UriMappings>
                <!-- UriMapping ohne Übergabeparameter -->
                <navigation:UriMapping Uri="/MappingWithoutValue" MappedUri="/SecondPage.xaml"/>
                <!-- UriMapping mit einem Übergabeparameter -->
                <navigation:UriMapping Uri="/MappingWithOneValue/{parameter}" MappedUri="/ThirdPage.xaml?value={parameter}"/>
                <!-- UriMapping mit zwei Übergabeparametern -->
                <navigation:UriMapping Uri="/MappingWithTwoValues/{parameter1}&amp;{parameter2}" MappedUri="/FourthPage.xaml?value1={parameter1}&amp;value2={parameter2}"/>
            </navigation:UriMapper.UriMappings>
        </navigation:UriMapper>

    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>