(X) Hide this Watch the recording of the webinar 'XNA for Windows Phone 7' delivered on June 30th by Peter Kuhn. In-deep walkthrough to XNA for Windows Phone 7 will be available in the 3-day online training on July 13, 14 and 15. Learn more on the training
SilverlightShow most popular article series are now available as offline downloads in our E-book area. More e-books released every other day!
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Cross-domain Network Access

(0 votes)
0 comments   /   posted by Silverlight Show on Dec 18, 2009
Tags:   cross-domain-access , networking , silverlight-4
In this article Gill Cleeren is looking at cross-domain access to a service in Silverlight 4’s trusted applications.

As you may know, when accessing any service located in a domain different from the one in which the Silverlight application itself is hosted, Silverlight will check for a cross domain file being in place. Cross-domain policies prevent Silverlight applications to connect with services that are not in the same domain. However, a service can opt-in to be connected to if at the root of the domain, a cross-domain policy file has been deployed. Silverlight will check for its existence (the file should be named clientaccesspolicy.xml or crossdomain.xml, which is the cross-domain file of Flash) and if found, Silverlight will connect in a cross-domain manner.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Latest News

  • Daily News Digest 07/28/2011
  • "Building a DataGrid Control for Silverlight for Windows Phone" e-book by Walter Ferrari
  • Visual Studio LightSwitch 2011 Extensibility Toolkit
  • Windows Phone Mango build 7712 released to developers