I am working on Ecommerce project (Asp.Net Mvc3). My routes for product and categories are mentioned below
routes.MapLocalizedRoute(
\"Product\",
\"p/{produc
This is referred to as a 'slug' and is typically handled in an action filter. Phil Haack has a good article Manipulating Action Method Parameters that explains it in detail. The basic concept is to handle the filters OnActionExecuting
method to extract the route value for the ID
parameter, then look up the corresponding name from the database and add that value to the Name
parameter.