url rewrite in with regex from: makale/id{0}    to: makale.aspx?id={0}

Posted on 2012-09-21
Last Modified: 2012-10-09

I am willing to make a url rewriting but instead of making it in staticly i want to read it from web.config then change the string from

makale/id{0}        to   makale.aspx?id={0}

how can i achieve it , i could not figure out there are samples for doing similar things as below

but i could not figure out the regex equivalent of my strings to write in Lookfor and Sendto parts in my web.config...

could you pls help me on that?

      <!-- Rules for Blog Content Displayer -->

Open in new window

Question by:nicedone
    LVL 29

    Accepted Solution


    Author Closing Comment

    I went through different websites and managed to do url rewriting...

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now