Click here to Skip to main content
15,032,967 members
Please Sign up or sign in to vote.
1.57/5 (3 votes)
See more:

how can i URL rewrite from database based column value? URL is


and its should be show as


foodapple comes from database as per id 4 and if id change URL also change.
Updated 8-Oct-13 2:42am

1 solution

In ASP.NET 4.0 URL Routing is fully integrated and so straightforward and powerful to use it should be preferred over URL Rewriting whenever possible.

For more info check this:

ASP.NET 4.0 URL Routing Tutorial

I hope this will help to you.

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