title: Asp.Net Routing - Replace white spaces %20 with dashes from URLs generated
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/25259/how-does-stackoverflow-generate-its-seo-friendly-urls">How does StackOverflow generate its SEO-friendly URLs?</a>  </p>
  </blockquote>
  
  
  
  <p>I use Asp.net 4 and Routing</p>
  
  <p>I use this Route to create SEO friendly URLs for my website.
  <code>Title</code> url paramenter is a string example "This is a Title" as result I get the URL in browser with this format <code>/Content/This%20is%20a%20Title</code>.</p>
  
  <p>I would rather have the white spaces <strong>%20 replaced</strong> with a more readable dash for example: <code>/Content/This-is-a-Title</code>.</p>
  
  <p>Any idea how to do it? Thanks for your help on this</p>
  
  <pre><code>        routes.MapPageRoute(
              "View Content",                     // Route name
              "Content/{Title}",                  // Route URL
              "~/Cms/FrontEndCms/Content.aspx"    // Web page to handle route
          );
  </code></pre>