ASP.NET 4.0 + UrlRewrite

3 posts, 0 answers
  1. Daniel Plomp
    Daniel Plomp avatar
    130 posts
    Member since:
    Feb 2004

    Posted 01 Jun 2010 Link to this post

    Hi all,

    Just a question about Url Rewriting in ASP.NET 4.0.
    I was wondering how to rewrite this url:

    http://www.mysite.com/default.aspx

    to

    http://www.mysite.com/

    How can I achieve this with URL Rewriting in ASP.NET 4.0?

    Thanks,
    Daniel
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 01 Jun 2010 Link to this post

    Hello Daniel,

    Information on how to implement Url routing with ASP.NET 4.0 can be found in this blog post by Scott Guthrie. I hope that you will find it helpful.

    Best regards,
    Sebastian
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Daniel Plomp
    Daniel Plomp avatar
    130 posts
    Member since:
    Feb 2004

    Posted 01 Jun 2010 Link to this post

    Hi Sebastian,

    I followed that post for some pages in my website which have parameters, like in the example.
    But I couldn't find how to rewrite ~/Default.aspx to nothing e.g. "/".

    Daniel
Back to Top