After my research on this issue, it is quite simple to implement. However, I think this should be supported by the official asp.net core team.
It seems to me that middleware is required that creates several RouteContext according to the entered text and just calls their handlers - and changes in their response. this can be a little more complicated because it will require multiple response support for the HttpContext (as far as I know, it looks like it will be shared between controllers).
In any case, there is an open issue in the official repository that I raised from the dead, hoping that it will move things along. I can work on the implementation in the future if there are no changes soon.
Update
It seems that the asp.net team responded to the request and created a new issue that is installed on the 2.0 milestones, so I assume this feature will be available during the release of asp.net 2.0.
gilmishal
source share