Sunny
Sunny

Reputation: 3295

how to pass querystring in friendly url in asp.net web application

Hope this is the best place to put this question. I am working on a web application.Where any user can check detail of other user by a link. currently this is the link for test

http://www.contractgenies.com/Snapshotprofile.aspx?ViewRef=test09last099826

it is working fine but

Problem :

I want to show this as :

http://www.contractgenies.com/test09last099826

without query string or page name.

Is this possible or not please let me know.

Upvotes: 0

Views: 1946

Answers (1)

sohail.hussain.dyn
sohail.hussain.dyn

Reputation: 1541

You can use UrlRewriting mechanism to achieve this job.

URL Rewriting Module

If you are going to use ASP.Net MVC then use routing mechanism.

Routing Mechanism ASP.Net MVC

Upvotes: 4

Related Questions