title: URL Rewriting in ASP.NET 4.0
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5060534/asp-net-4-0-url-rewriting-how-to-deal-with-the-ids">ASP.NET 4.0 URL Rewriting: How to deal with the IDs</a>  </p>
  </blockquote>
  
  
  
  <p>I am trying to do url re-writing in my asp.net c# project, and I searched internet but did not get what I was looking for.</p>
  
  <p>Say, for example I have following url:</p>
  
  <pre><code>http://www.example.com/Question.aspx?qid=1
  </code></pre>
  
  <p>Now, Question.aspx finds a question against  (which has title and body field) for qid from the db and displays it. I want to display question title in url.</p>
  
  <p>My requirement is something like this:</p>
  
  <pre><code>http://www.example.com/Question/1/QuestionTitleGoesHere
  </code></pre>
  
  <p>Can anyone please suggest that how can I achieve this ASP.NET 4.0?</p>