As a WPDev, you already know about the NavigationService class that we use regularly to navigate from one page to another. But what if you want to navigate to a web URL? If you use the same class for web navigation, you will face a ArgumentException unhandled in your App class. If you are one of the victim and came to this page by searching online for the solution, this post will help you today to resolve the exception in your code. Last day while building a Windows Phone application, one of my friend did a common mistake and used the NavigationService class to navigate to a web URL and when he executed the code, immediately encountered the following exception message directly unhandled to App.xaml.cs file and there was no other way to handle this crash: "Navigation is only supported to relative URIs that are fragments, or begin with '/', or which contain ';component/'. Parameter name: uri" Here is a screenshot of the exception message that you will...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8