url rewriting concept

Posted by Vanchi050585 under ASP.NET on 4/2/2011 | Points: 10 | Views : 1951 | Status : [Member] | Replies : 5
Dear Friends,


i am developing classified site, that url is like below:

http://www.samplesite.com/Srch/search_Listt.aspx?CompanyName=Guu%20Clic

but it will be display like below:

http://www.samplesite.com/Srch/Guu-Clic.aspx



anybody send sample with full description

Thanks in Advance.

Thanks
tvn



Responses

Posted by: SheoNarayan on: 4/2/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Vanchi,

Go through these articles that has the complete details of how to achieve this
http://www.dotnetfunda.com/articles/article75.aspx
http://www.dotnetfunda.com/articles/article870-a-walkthrough-to-aspnet-40-url-routing-.aspx - Latest and the best way to do url re-writing.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vanchi050585 on: 4/2/2011 [Member] Starter | Points: 25

Up
0
Down
Hi SheoNarayan,

i am using asp.net 3.5 only. it will be applicable in 3.5.

i was tried ur article below:
http://www.dotnetfunda.com/articles/article75.aspx

it was not cleared about use. i am not able to understand this and use.

pls send any other way or clear idea.

thanks

Thanks
tvn

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 4/2/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Vanchi,

You can follow the steps written in the article, try copy-pasting the code snippets and change the names as per your project requirements and it should work.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 4/3/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Try these links for the 3.5 version as well

http://forums.asp.net/p/1556761/3829445.aspx

http://www.codeproject.com/KB/aspnet/url_rewriting_routing.aspx

Thanks
Karthik
www.f5Debug.net

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kasarlaravi on: 9/6/2011 [Member] Starter | Points: 25

Up
0
Down
hi,
try this link
www.dotnetfunda.com/articles/article1568-url-rewritingvirtual-url-.aspx

thanks,
ravi kasarla


Ravi Kasarla

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response