Skip to main content

Microsoft Silverlight

Answered Question Cross Domain QuestionRSS Feed

(0)

moonwalkercs
moonwalk...

Member

Member

1 points

2 Posts

Cross Domain Question

Hi

I have a silverlight file that calls a wcf service that is in the same project:

http://www.test.com/silverlight.xap
http://www.test.com/wcfservice.svc

I am fairly new to silverlight and do not understand cross domain issues very well.  Currently I am not using a cross domain policy file or a client access policy file and it is working fine.  Am I right to believe that there will be no cross domain issues since the .xap file and the .svc file are both on the same domain?

 Thank you


 

shamrat231
shamrat231

Contributor

Contributor

4717 points

595 Posts

Answered Question

Re: Cross Domain Question

Yes, as long as they are in the same domain, cross domain policy is not needed. It is needed when u r trying to access third party web services.

See this tim heuer video for more info. http://silverlight.net/learn/videos/silverlight-videos/how-to-use-cross-domain-policy-files-with-silverlight/

Please 'Mark as Answer' if it helps you

Sharker Khaleed Mahmud
Software Developer
(MCP,MCTS,MCPD[web])

This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.

 

Dhaka, Bangladesh
LinkedIn :: SL Profile :: Blog
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities