title: How to access all querystring parameters as a dictionary
body: <p>I have some dynamic querystring parameters that I would like to interact with as an <code>IDictionary&lt;string,string&gt;</code>. How do I do this?</p>
  
  <p>I tried</p>
  
  <pre><code>public IHttpActionResult Get(FromUri]IDictionary&lt;string, string&gt; selections)
  </code></pre>
  
  <p><a href="http://www.hanselman.com/blog/ASPNETWireFormatForModelBindingToArraysListsCollectionsDictionaries.aspx">as suggested</a> but for a query of </p>
  
  <pre><code>/api/MyController?selections%5Bsub-category%5D=kellogs
  </code></pre>
  
  <p>it always gives me a dictionary with 0 items.  </p>
  
  <p>I don't even need the <code>selections</code> prefix. I literally just need all querystring parameters as a dictionary. How do I do this and why won't the above work?</p>