Routing Razor Pages to /example.com/en/ format
问题 I have three languages on my website. I'm trying to get my razor pages to route to culture/localization like so: https://localhost:44396/en/ https://localhost:44396/ru/ I have hundreds of lines of code commented out at this point using methods I've been googling for the past two days and nothing seems to do the job. The website is mostly static so right now beyond the culture there is nothing else that needs routing. 回答1: Here's a way you can do it that doesn't require you to put a middleware