Solved

URL Rewrite in ASP.net

Posted on 2009-07-16
3
575 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 125 total points
ID: 24871111
0
 
LVL 3

Assisted Solution

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

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Node.js 11 82
Calculating percentage 2 49
Can Selenium do Load Testing? 2 61
Developers / Staff Setup 10 48
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

752 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