User-195907812 posted
I am redirecting URLs using this rule format
routes.MapRoute(
name: "route_redirect_about",
url: "/pages/about",
defaults: new { controller = "mypagecontroller", action = "about" }
);
This works but when you have 50+ the code is quite lengthy.
Is there a way I can reduce the length of each redirect or create a list (without using the database)?
Thank you