YARP not handling Areas in net core #2314
-
Hello, we are using the Upgrade Assistant to upgrade from net 4.8 to net core in the Side by Side method, so we are using YARP to route between what we have moved, and what is in the existing app. Anyway, we have added the mapping for areas to the program.cs and YARP still doesn't recognize that the areas should hit the new app rather than the old ap. Not sure what is causing it.
That's the routing part of the program.cs. Here's a sample of one of the controllers.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I don't know areas very well, but the docs don't show how it interacts with the |
Beta Was this translation helpful? Give feedback.
I don't know areas very well, but the docs don't show how it interacts with the
Route
attribute. Try this example:https://stackoverflow.com/a/36535512/2588374