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

how can i do url mapping for web site without using url rewriter dll
Posted

Well, you can achieve it using:
1. URL Mapping tag in config file
2. URL Rewriting module

Have a look at these:
URL Mapping[^]
A Complete URL Rewriting Solution for ASP.NET 2.0[^]
 
Share this answer
 
Comments
madhgari.rk 12-Jul-10 9:12am    
hi,
without using dll , can i do mapping ?
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
 
Comments
madhgari.rk 12-Jul-10 7:31am    
is it enough to give <url mappings=""> in webconfig or any other i have to do plz tell me

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