Author: Sheetal.Bhatt | Posted on: 11/30/2010 7:35:10 AM | Views : 423

Hello,

I have used used foollowing code for rewriting.

Global.asax:
<script runat="server">

    void Application_Start(object sender, EventArgs e)
    {
        // Code that runs on application startup
        RegisterRoutes(RouteTable.Routes);
    }
    void RegisterRoutes(RouteCollection routes)
    {
              
        routes.Add(
           "BlogPost",
              new Route("courses/{courcetitle}/#{*courceid}",
              ...

Go to the complete details ...