Skip to main content
Home Learn Videos Silverlight Videos How to Use Cross Domain Policy Files With Silverlight
Presented by:Tim Heuer
April 17, 2008 | Duration: 9:14
Login to Rate
:( Error
0 0
Select Your Format
Tim Heuer describes how to use cross-domain policy files when accessing third party web services.
Member
59 Points
#1 April 18, 2008 4:00 PM
Good video. Need to update the Duration to 9 minutes, 14 seconds.
1380 Points
#2 April 22, 2008 11:28 PM
fyi, the snippet file referred to in this sample is at timheuer.com/.../silverlight-cross-domain-policy-file-snippet-intellisense.aspx
3 Points
#3 May 17, 2008 7:48 AM
Is it possible to add new references to cross-domains at run-time? Let's say I want somebody to enroll and give me their domain name before I allow them to use my silverlight app. If I took that domain and added it the cross-domain xml file would that change occur without a compile or IIS reset?
102 Points
#4 May 27, 2008 7:48 PM
It seems many RSS feeds are not includint the clientaccesspolicy.xml
How would we access the RSS feed?
#5 May 28, 2008 5:18 AM
@geordiejenner: yes, a cross domain file would be required. for feeds hosted on feedburner, they have a crossdomain policy file :-) -- other sites would have to implement that.
#6 June 10, 2008 9:44 PM
Hi all -- FYI, the video shows the clientaccesspolicy.xml file as required for Silverlight Beta 1. The code download, however has the correctly updated sample for Silverlight beta 2 (and future) that includes an additional attribute required on the allow-from node of the policy file. The code snippet has also been updated.
13 Points
#7 July 04, 2008 4:36 AM
great video, everithing you have to know for te policy, I encountered several problems with the place to put the policy in JBoss, the simplest solution is deploying with the policies.
837 Points
#8 August 14, 2008 2:58 AM
Can you take a look at this screenshot and tell me why I followed your entire video and I still have the 404 not found. There's a slight difference between you and me.
I do have my service INSIDE my WebSite project. Everything works fine when running in VS2008 but as soon as I run the deployed web site I have the 404 not found. Even if you said not to put the clientaccesspolicy file on the web project. What do I do in this situation ?
pages.videotron.com/.../whattodo.jpg
#9 August 14, 2008 3:08 AM
Its me again. The ROOT ? Its not clear to me what is the ROOT
I mean, let say in IIS I have a virtual directory called devpreview which point to a physical directory called
C:\Users\Gear\Documents\Visual Studio Codename Orcas\Projects\GearSite\PrecompiledWeb\GearSite_Web in which my deployed web site is including the policy file
So where's the ROOT ?
As I saw you, it was at the same place as the web.config. But remember, mind is web site including the service so I have the web.config, the VisitorCount.svc and the clientaccesspolicy.xml at the same place.
Here's what the web site directory looks like :
pages.videotron.com/.../webdir.jpg
#10 August 14, 2008 6:33 AM
GearWorld: I think I'm emailing you offline as well perhaps, but I'll ask here just in case a diff person...is the SVC in the same site as the page hosting the Silverlight content? if so, you do not need a x-domain policy file.
You must be logged in to leave a comment. Click here to log in.