title: Accessing querystring in ASP.NET MVC6
body: <p>I am trying to access query string parameters in my ASP.NET MVC6 applications. But it seems unlike MVC5 and web forms, QueryString doesn't have any indexer and I can't say something like:</p>
  
  <pre><code>string s = Request.QueryString["key1"] //gives error
  </code></pre>
  
  <p>So, my question is - how do I access query string parameters in MVC6? </p>
  
  <p>Surprisingly <code>Request.Forms</code> collection works as expected (as in MVC5 or web forms).</p>
  
  <p>Thank you.</p>