Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 209783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:56:47+00:00 2026-05-11T17:56:47+00:00

I have an XBAP WPF application which displays various pages inside of a Frame.

  • 0

I have an XBAP WPF application which displays various pages inside of a Frame. I was thinking about allowing deep linking into this app. So that users can link to something like http://myhost/myapp.xbap?page=MyPage and I then when app loads I automatically set MyPage.xaml as a source of my main frame.

I think I have an understanding of how to achieve this. What I don’t know if I should do any sanitizing of such parameter to prevent possible security vulnerabilities? Or is it not a concern in such scenario in WPF?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:56:48+00:00Added an answer on May 11, 2026 at 5:56 pm

    I think it all depends on how you handle the dynamic loading of your XAML. If you’re just building the XAML filename straight from the parameter, you could potentially allow the user to load up whatever XAML they want in your application (including anything you might not want the user to have access to, if that’s a possibility within your application.

    You might want to think about having some kind of mapping file that maps parameters to XAML files. That way you can check to make sure the parameter is valid and the user can only access the XAML elements that you want to give them access to.

    Other than that…good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to implement user sessions in wpf? I have a XBAP application in which
We have a WPF Application that runs from both desktop and as a XBAP
I have an XBAP currently published on my local machine, which has an 'About'
Im creating a custom control. I have common code for WPF and XBAP application.
I have a wpf xbap application that downloads some data in background. There is
We have a .net WPF application running as both XBAP and Desktop etc.I haven't
I have an XBAP that is in an IFRAME, wrap inside a DIV, which
Basic layout (VB.NET & WPF/XBAP) : I have a MainPage - mainpage.xaml Inside the
We have a WPF XBAP application that we want to change the configuration on
I have an XBAP application which is approximately 1.3MB in size. I have tried

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.