posts - 32, comments - 52, trackbacks - 0

My Links

News

Archives

Image Galleries

About Me

Cassini ClientAccessPolicy place it in the root

Normally when I have develop a service layer for my silverlight app I have it all in the same web project (easy, no clientaccesspolicy headaches), … but in some cases I have my service layer in a separate solution, in theory it’s quite easy to setup a client access policy, but… when you try it it fails because that xml policy file is not in the root of the cassini web server :-(.

What to do.. change your settings, good old trick that can be applied even to VS 2005 :-)

http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-2005-sp1.aspx

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Tuesday, March 02, 2010 2:50 PM |

Feedback

Gravatar

# re: Cassini ClientAccessPolicy place it in the root


I am using Cassini to demonstrate our Silverlight application which connects to another website (containing WCF services) also hosted in Cassini. I don't know where to put the ClientAccessPolicy.xml file which on IIS needs to be in the root (c:\inetpub\wwwroot) to allow communication between the application and the site. Some of the Mortgage ratesWCF calls are working, some are not and it appears to be the lack of a ClientAccessPolicy.xml file which is causing this.
10/22/2010 7:24 AM | Mortgage rates
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: