I would like requests on different ports (80 and 443 in my case) to be routed to different controllers.
I see a suggested technique in this answer, but only half of the solution (the server side) is provided there. The missing part is how to configure the controllers to receive the modified route.
I'm very new to ASP.NET Core, so I'm probably missing something obvious. In fact I'm probably not even calling it the right thing.
What should I do to my controllers so that a routed request, as shown in the linked answer, reaches the appropriate controller?