cross-domain in Silverlight on self-hosted WCF services

August 4, 2010 at 4:18 am | Posted in Uncategorized | Leave a comment

在Silverlight中调用WCF服务(不在IIS中,而是自己开了个ServiceHost),总是出现System.Security.SecurityException。网上看看基本上是说加2个文件crossdomain.xml,clientaccesspolicy.xml。但因为不Host在IIS中,所以。。。应该。。。,请看

http://blogs.msdn.com/b/carlosfigueira/archive/2008/03/07/enabling-cross-domain-calls-for-silverlight-apps-on-self-hosted-web-services.aspx

http://wallism.wordpress.com/2009/03/01/silverlight-communication-exception/

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.