Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all ,

Recently i saw 2 techniques in asp.net named url mapping and url rewriting.So are they the same or there are differences.If so which one to use ?

Thanks in advance.
Posted

1 solution

Hi,
URL rewriting and URL mapping are used to map a virtual page to a physical page. Difference is URL rewriting is used to map multiple pages according matching patterns, URL mapping is used to map a single page. By using URL routing, the URL is not changed when an incoming request is handled, because URL routing can extract values from the URL.Hope this will clarify the concept.
 
Share this answer
 
Comments
mhamad zarif 30-Jul-11 17:08pm    
thanks a lot.Now i understood the concept.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900