Click here to Skip to main content
15,907,183 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to use url rewrite in asp.net.
Please give me examples on this issue.


Thanks and Regards,
Naveen.
Posted

 
Share this answer
 
URLMapping can be generally done in two ways.

1. If the data is coming from the database you have to use Context.RewritePath method in Application_Request event of Global.asax file and handle the URL Mapping here.

2. If there are some known pages for which you want to do urlmapping you can use UrlMapping section in web.config file.
 
Share this answer
 

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