Skip to content
Discussion options

You must be logged in to vote

Are you using ASP.NET Core 3.1? There was a bug with catch-all routing. See:
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-3.1#route-template-reference

You don't need that transform on the first route, the existing path is passed through by default.

The transform you have on the second route would prevent you from being able to combine these even if the catch-all worked.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@samsp-msft
Comment options

@KlemensGenetec
Comment options

Answer selected by KlemensGenetec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants