You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Html.Action, Html.BeginForm,...,Url.Action() generate a default route to action (ControllerName/ActionName?params), but not a special route from .MapControllerRoute()-methods (attribute-based routes work fine). Issue was discovered after migration from 3.1 to .net 6 and piranha 10.
Example (I have a lot more examples): for this rule LinkGenerator API generates Purchase/Buy
The problem here was that there is a problem with calling UseEndpoints() multiple times. To amend this we have added a UseEndpoints() method to the PiranhaApplicationBuilder that will add the endpoint actions to a collection and then call them all in one go. This method can be called from within UsePiranha(), for example:
tidyui
changed the title
.UsePiranha(options) middleware ruins searching in routes (LinkGenerator API)
.UsePiranha(options) middleware ruins route search
Mar 31, 2022
Example (I have a lot more examples): for this rule LinkGenerator API generates Purchase/Buy
The text was updated successfully, but these errors were encountered: