Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all
I am facing a problem and want to discuss to you all
I have a issue that a page having url http://localhost/xyz/user=username
serves to the particular user whose id is username and goes with the query string variable named user
So i want this url to change to http://xyz/username
where username stands for the same querystring parameter with the help of routing
I am using .NET framework 3.5
Posted

1 solution

I think if you upgrade to ASP.NET 4.0 you can use the newly shipped feature routing engine
see the below link
http://www.dotnetfunda.com/articles/article1450-aspnet-40-routing.aspx[^]
 
Share this answer
 
Comments
007alok 6-Mar-13 3:16am    
Thanks for your reply but can i do it in 3.5 ?
Omar Isaid 6-Mar-13 6:13am    
This feature first appeared with ASP.NET MVC and shipped with ASP.NET 3.5 SP1
see the below MSDN link for more information
http://msdn.microsoft.com/en-us/magazine/dd347546.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900