Improve company productivity with a Business Account.Sign Up

x
?
Solved

URL Rewrite in ASP.net

Posted on 2009-07-16
3
Medium Priority
?
589 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
2 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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Why WooCommerce is one of the majorly favored choices when it comes to having an eCommerce store. This article will acquaint you with some reasons that I believe make it one of the best eCommerce platforms available.
Magento is the best technology for eCommerce start-ups as it offers the technical expertise and visual appeal to create a store that pulls sales and earns high ROI (Return on investment).
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

580 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