0

How I can add crossdomain.xml and clientaccesspolicy.xml to my self-hosted app?

1
  • I use Mark Jones answer. It was very useful. Commented Oct 4, 2012 at 7:40

1 Answer 1

2

Take a look at this answer by imran_ku07 http://forums.asp.net/t/1785552.aspx/1?Hosting+static+content+in+a+self+hosted+webapi all you need to do is create a route and API controller to actually serve the crossdomain.xml etc. policy files.

 config.Routes.MapHttpRoute(
            "CrossDomain", "crossdomain.xml",
            new { controller = "CrossDomain" });
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.