Silverlight App is hosting on a web site. How to get the hosting url in silverlight app code?
For example if the hosting site is http://mysite/startingpage.aspx, then how to get “http://mysite” in SL app code?
Silverlight App is hosting on a web site. How to get the hosting url
Share
This will give you the location of the page hosting the
.xapfile:This will give you the location of your
.xapfile:You can then take either of these strings and parse out the parts you don’t need.