title: Resource interpreted as Document but transferred with MIME type application/pdf
body: <p>See the following code:</p>
  
  <p><strong><em>Controller:</em></strong></p>
  
  <pre><code>public ActionResult GetPDF()
  {
      byte[] pdf = GetPdfFromDatabase();
      return new FileContentResult(reportData, "application/pdf");
  }
  </code></pre>
  
  <p><strong><em>View:</em></strong></p>
  
  <pre><code>&lt;iframe src="@Url.Action("GetPDF","Account")" width="600" height="500"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p><strong><em>Javascript Console:</em></strong></p>
  
  <p><a href="https://i.stack.imgur.com/pzquc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pzquc.jpg" alt="enter image description here"></a></p>
  
  <blockquote>
    <p><em>Each time you load a page, show this warning !!!</em></p>
  </blockquote>