title: Getting a string from URL in ASP.NET MVC
body: <p>With the following code in controller, I can pass the value of genre as "rock" with this url: "http://localhost:2414/Store/Browse?genre=rock" </p>
  
  <pre><code>public string Browse(string genre)
      {
          string message = HttpUtility.HtmlEncode("Store.Browse, Genre = "
      + genre);
  
          return message;
      }
  </code></pre>
  
  <p>I want to pass the same value of genre when the URL is "http://localhost:2414/Store/Browse/rock" </p>
  
  <p>How can I do that? </p>