AddPageRoute associates an additional route template with one Razor Page. The original route remains available, so the page can be reached through two route templates. section 14.6
Add an alternative page URL
Configure the convention through AddRazorPagesOptions: opts.Conventions.AddPageRoute("/Search/Products/StartSearch", "/search-products"). The page keeps its default route and also responds to /search-products. section 14.6
