Is there a way to declare a common route for Razor Pages, for example I have Foo.cshtml
which can be accessed by any of the following Url:
/foo
/en/foo
/fr/foo
/bar/foo
Note: I want this to be applied to all other Razor Page in the project as well.
So I found a solution, however, I want a custom route handler as well, that is, when user lands on the url, depends on the Url, I want to perform different works (changing Thread Culture for example)