It seems there are two ways to pass URI parameters into an XBAP application:
(i) XBAP-style using BrowserInteropHelper.Source
(ii) ClickOnce-style using ApplicationDeployment.ActivationUri
What are the pros/cons or possible gotchasÃÂ of the different approaches ?
BrowserInteropHelper.Source seems simpler, but is XBAP specific. ApplicationDeployment.ActivationUri should work with any ClickOnce app but is marginally more complex, and also needs "Allow URL Parameters" ticked in VisualStudio publish tab - but that parameter is not supported by mage.exe command line AFAIK. Any other pros/cons ?
//url parameters - XBAP style
NameValueCollection params_BIH = GetQueryStringParameters(BrowserInteropHelper.Source);
View Complete Post