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
Introduced MapImplicitAreaControllerRoute() overload for mapping all areas
The existing `MapImplictAreaControllerRoute()` extension method recently introduced (8a65c95) requires, at minimum, an `areaName` parameter, and thus is limited to setting up routes for one individual area at a time.
This extension doesn't (currently) accept any parameters, and will instead map _all_ areas. It does this by implementing the new `TopicRouteValueTransformer` (865f26a) to automatically set the `controller` routing variable to the `area` name, which is the convention we most frequently follow.
Be aware that, as with the recently introduced `MapTopicAreaRoute()` (762d229), this implementation trips of a feature limitation of ASP.NET Core 3.0 which prevents e.g. `@Url.Action()` references from correctly returning values (see dotnet/aspnetcore#16965). Hopefully that will be resolved in ASP.NET 4.0.
0 commit comments