Last post Dec 20, 2011 11:47 AM by bhushan13in
Dec 16, 2011 05:42 AM|umairaslam22|LINK
I heard alot about url rewriting , read dozens of articles before posting here , but i didnot get the actual flow of url rewriting , if experts can tell me the exact flow from start to end then i'll be thankful to you but be in sequence like no article is
Dec 20, 2011 11:47 AM|bhushan13in|LINK
Where to start ?
Consider you have 2 pages (first.aspx and second.aspx)
1: first page contain one virtual url which naviage you to next page
<a href='product_abcd.aspx'>clik me </a>
What to write first either in C# code or gloabal.asax or web.config rewrite tags from , to etc
Now web.config come into action
<rewrite url="~/product_abcd.aspx" to="~/second.aspx" processing="stop" />
When you click on first page url. it will navaigate to u another page with address bar containing product_abcd.aspx page not the actual page url
What is the role of IIS ?
Role of iis come when you want to map some diffrent extension like (.html) or extension less url (www.yourdomain.com/product_abcd)
Currently we have aspx extension
Url rewriting while running the project in vs2005 or vs2008 is there any settings to view url rewritten in localhost when running project from IDE
just check you web config file it contain all rewite ruls
Is there any dll or third party dll involved for UrlRewrite() ?
follow this link u will get most of the answer
this is third party dlls
So the above questions are not in sequence but i didnot find any article that is in flow , some starts from web.config , some from global.asax , some are using third party dlls. some post there articles just c# code , So i know there is exact flow ...............so
your code + third party dll + web config u get what u want.