title: Is it possible to have route multiple parameters in asp.net mvc using maproute
body: <p>I want a user to be able to access objects (could be JSON or XML) using a restful syntax rather than having to use query strings.</p>
  
  <p>So instead of <code>http://mywebsite.com/objects/get=obj1&amp;get=obj2&amp;get=someotherobject/</code> they could do something like <code>http://mywebsite.com/objects/obj1/obj2/</code> and the xml/JSON would be returned. They could list the objects in any order just like you can with query strings.</p>
  
  <p>In asp.net mvc you map a route like so:</p>
  
  <pre><code>       routes.MapRoute(
             "MyRoute",
             "MyController/MyAction/{param}",
             new { controller = "MyController", action = "MyAction", param = "" }
         );
  </code></pre>
  
  <p>I would want to do something like:</p>
  
  <pre><code>       routes.MapRoute(
             "MyRoute",
             "MyController/MyAction/{params}",
             new { controller = "MyController", action = "MyAction", params = [] }
         );
  </code></pre>
  
  <p>where the <code>params</code> array would contain each get.</p>