标签: .net .net-core
routes.MapRoute( name: "oldPath", template: "path/{id:int}/{name}.aspx", defaults: new { area = "", controller = "Legacy", action = "OldPath" } );
在.Net Core 2.2中,上面的路由为我生成404,有什么建议吗?