Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

URL Rewrite in ASP.net

Posted on 2009-07-16
3
Medium Priority
?
582 Views
Last Modified: 2013-12-09
Hi All

I like to know how to rewrite url for

http://www.domain.com/test.asp?code=213

To
http://www.domain.com/test.aspx?code=213

I am not able to get query string value.

I am writing url as follows

<rule name="Rule1" enabled="true">
                    <match url="^test.asp?code=([^/]*)$" />
                    <conditions logicalGrouping="MatchAll" />
                    <action type="Rewrite" url="test.aspx?code={R:1}" />
                </rule>
0
Comment
Question by:csofttech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

by:
Phateon earned 500 total points
ID: 24871111
0
 
LVL 3

Assisted Solution

by:ongngochoang
ongngochoang earned 500 total points
ID: 24896859
http://urlrewriter.net/ is a library can help you
0

Featured Post

Give Your Engineering Team a Productivity Boost

Learn why container technology is so powerful and how it can provide your team with productivity gains and other benefits.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to dynamically set the form action using jQuery.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

722 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