URL rewriting is the process where we recieve a request to our application and we re-write it to another URL, which the application process then.
For example, if the URL comes in through the browser as "www.mysite.com/UserProfile/1.aspx" it may be rewritten to another URL like "www.mysite.com/UserProfile.aspx?ID=1" that your site can better read.
There are different ways to implement URL Rewriting..
Jjijunjose
Member
2 Points
9 Posts
url rewriting
May 25, 2010 05:12 AM|LINK
How we do url rewriting in asp.net 4.0.
Please help.
hassanmehmoo...
Star
8970 Points
1590 Posts
Re: url rewriting
May 25, 2010 06:20 AM|LINK
URL rewriting is the process where we recieve a request to our application and we re-write it to another URL, which the application process then.
For example, if the URL comes in through the browser as "www.mysite.com/UserProfile/1.aspx" it may be rewritten to another URL like "www.mysite.com/UserProfile.aspx?ID=1" that your site can better read.
There are different ways to implement URL Rewriting..
You can go through this article for conceptual reading and good examples on this topic: http://msdn.microsoft.com/en-us/library/ms972974.aspx
See this one too for good example: http://www.developer.com/net/article.php/3703901/How-to-Implement-and-Utilize-URL-Rewriting-with-ASPNET.htm
Watch this practical Video too : http://www.asp.net/general/videos/how-do-i-implement-url-rewriting
--
Hope it helps..
Mark as Answer, if it answers you..
--
getchinna_sv
Star
12043 Points
2096 Posts
Re: url rewriting
May 25, 2010 06:37 AM|LINK
check this link.... http://urlrewriting.net/149/en/home.html
pauldaniel
Contributor
2092 Points
342 Posts
Re: url rewriting
May 25, 2010 09:37 AM|LINK
Hi
Checkout this link http://www.15seconds.com/Issue/030522.htm
http://www.dotcominfoway.com/
sreejukg
All-Star
27531 Points
4103 Posts
Re: url rewriting
May 25, 2010 11:19 AM|LINK
In .net 4.0 , it has inbuilt capabilities for this. It is called URL routing. Some new classes are added to the framework that handle this.
for more info read this
http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx
My Blog
ahsanm.m
Contributor
5254 Points
781 Posts
Re: url rewriting
May 25, 2010 11:22 AM|LINK
hello,
pls check it out...
http://aspboss.blogspot.com/2010/05/url-rewritng-in-aspnet-40.html
http://www.aspnetajaxtutorials.com/2009/12/aspnet-url-rewriting-method.html
DotnetBoss | asp.net boss