title: Preview pdf instead of download using Rotativa
body: <p>I am trying to print <code>.html</code> file as <code>.pdf</code> file using Rotativa. I have tried this code:</p>
  
  <pre><code>return new ActionAsPdf("Index") { FileName = "Product.pdf" };
  </code></pre>
  
  <p>My index action is here:</p>
  
  <pre><code>public ActionResult Index()
  {
      return View(db.Products.ToList());
  }
  </code></pre>
  
  <p>But, the generated <code>.pdf</code> file is downloaded instead of previewed. I don't want to download it. I want the preview and then print it.</p>