title: ASP.NET MVC: Downloading an excel file
body: <p>I'm downloading an excel file within C# action method the reutrns a FileResult, like this:</p>
  
  <pre><code>return File(bindata, "application/octet-stream", "mytestfile.xls");
  </code></pre>
  
  <p>When I manually navigate to the URL that corresponds with the above method, then I get the rendered out representation of the file. The file will not download with a Save As -dialog.</p>
  
  <p>Is there a way to force the download to happen through Save As -dialog?</p>
  
  <p>-pom-</p>