title: asp.net mvc api returning 'This XML file does not appear to have any style information associated with it. The document tree is shown below.'
body: <p>I made a simple net mvc web api using entity framework, when I make an api call I am getting this error in chrome:</p>
  
  <blockquote>
    <p>This XML file does not appear to have any style information associated with it. The document tree is shown below.</p>
  </blockquote>
  
  <p>in IE this error does not appear, instead the result of the api leads to a download of a json file... I want the response to be set in such as way that the results will appear in the browser, and not as a download, how do I do this?</p>