title: How can I prevent the same-origin-access-policy with MVC4 and WebAPI projects?
body: <p>I have asked similar questions before but I have finally come to the root of my problem. I have a solution in VS 2010 with two projects. One project is an mvc 4 application that makes a rest call to the second WebAPI project, now even though these projects are in the same solution I get a same-origin policy error when using anything other than I.E. I believe this has to do with the fact that each project gets launched on a separate dev server instance but I am  not sure.</p>
  
  <p>Can someone please explain a solution to me where I can have both of these projects running without encountering the same origin error? (Related side question, if I ever wanted to expose my api to public use how would anyone use it without getting the same error?)</p>