title: how to print an MVC3 "page" to pdf
body: <p>What is the best way to output an MVC page as PDF and switching the master page to a different master page?</p>
  
  <p>I was thinking I could add a parameter to the query string like format=pdf
  and set some sort of filtering that capture the output and transform it to a pdf.</p>
  
  <p>Using classic ASP.NET I did that in an HttpModule.</p>
  
  <p>What is the best way of doing it in MVC?</p>
  
  <p>I have to be able to "print" all the pages in my application, so a FileResult controller method would not work.
  I need something generic that can work with every url adding that specific query string parameter</p>