title: Return XML from Web Api Controller
body: <p>How to specify return xml from web api controller?In one browser data opens as XML,in other as JSON.</p>
  
  <p><b>Edit</b></p>
  
  <p>Here is my action:</p>
  
  <pre><code>    [HttpGet]
      public IEnumerable&lt;MagazineMeta&gt; GetLastUploadPdfMeta(int count)
      {
         List&lt;MagazineMeta&gt; metas = _metaRepository
                   .GetAll()
                   .OrderBy(e =&gt; e.TimeAdd)
                   .Take(count)
                   .ToList();
  
         return metas;
      }
  </code></pre>