Open
Description
I was able to configure endpoints like this (instead of UseRouteAnalyzer()):
app.UseEndpoints(config =>
{
config.MapControllers();
// Manually add RouteAnalyzer endpoints
config.MapControllerRoute("routeAnalyzer", "{controller=RouteAnalyzer_Main}/{action=ShowAllRoutes}");
config.Map("/routes", context =>
{
context.Response.Redirect("RouteAnalyzer_Main/ShowAllRoutes");
return Task.CompletedTask;
});
});
But the page rendering fails with
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
Metadata
Assignees
Labels
No labels