AS you probably know, Windows PHone Mango has IE 9 as browser. IE 9 is pretty cool, but in your code,you could be surprised... My code has different behavior using Windows Phone Nodo (IE7) and Mango (IE9) with exactly the same code and with the same version of the SDK !!!
I discovered this behavior after coding an authentication part in my next application, using the Windows Azure ACS and a sample code provided by Microsoft.
The problem is with the WebBrowser control, look at this sample :
BrowserControl.Navigated += new EventHandler<NavigationEventArgs>(BrowserControl_Navigated);
private void BrowserControl_Navigated(object sender, NavigationEventArgs e)
In Nodo (IE7) the e.Uri is null, but in Mango (IE9), e.Uri is not null but empty !!!
So in Mango, you have to check the url like this:
So, be carreful in your code !!!