Default of asp.net-mvc4 is http://domainname.com/products/1
with routes
routes.MapRoute(
name: "Products",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Products", action = "Index", id = UrlParameter.Optional }
);
and I want to rewrite to http://domainname.com/products/1.html
that has .html extention .
Any ideas for this?