0

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.

9
  • 1
    Please change the title and the question in a clear question that can be answered. Commented May 2, 2013 at 7:06
  • Please advise me a question name for this. Commented May 2, 2013 at 7:07
  • What you are trying to achieve is called URL Rewriting. Check this link on how to do URL rewriting on ASP .NET Commented May 2, 2013 at 7:07
  • 1
    @RanhiruCooray this technology is VERY OLD. (2007). nowdays - we use routing. Commented May 2, 2013 at 7:08
  • 2
    @ErnodeWeerd I disagree. he just need the right term. Commented May 2, 2013 at 7:10

1 Answer 1

4

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

Sign up to request clarification or add additional context in comments.

6 Comments

Routing can be used also with web-form. not only with mvc. it sounds like (from your answer) that routing is only for mvc. p.s. +1.
Yep, use routing, it's more powerful and more flexible
@RoyiNamir how we can use with web form ?
weblogs.asp.net/scottgu/archive/2009/10/13/… gives an example of use with webforms
@sohail I am looking into these links i will update you asap.
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.