// <snippet403>
        private static FrameNavigationService CreateNavigationService(Frame frame)
        {
            var sessionStateWrapper = new FrameSessionStateWrapper();

            Func<string, Type> navigationResolver = (string pageToken) =>
            {
                // We set a custom namespace for the View
                var viewNamespace = "Kona.AWShopper.Views";

                var viewFullName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}Page", viewNamespace, pageToken);
                var viewType = Type.GetType(viewFullName);

                return viewType;
            };

            var navigationService = new FrameNavigationService(frame, sessionStateWrapper, navigationResolver);
            return navigationService;
        }
        // <snippet403>
        private INavigationService CreateNavigationService(IFrameFacade rootFrame, ISuspensionManagerState suspensionManagerSessionState)
        {
            var sessionStateWrapper = new FrameSessionStateWrapper();

            var navigationService = new FrameNavigationService(rootFrame, sessionStateWrapper, GetPageType, suspensionManagerSessionState);
            return navigationService;
        }