Asp.NetMVC 迁移至Asp.NetCore. MVC 生成失败:Error: “AmbiguousMatchException: The request matched multiple endpoints.”

      最近迁移项目至Core,迁移后,生成测试,发现页面无法生成,

      提示 Error: “AmbiguousMatchException: The request matched multiple endpoints.”

      最后检查发现,是多建了一个Home 控制器,删除一个问题解决。

                  No, this has nothing to do with your database, it's just as the error says, you have two controllers with the same name. – CodeCaster Feb 28 at 8:42

                  https://stackoverflow.com/questions/60447971/error-ambiguousmatchexception-the-request-matched-multiple-endpoints

原文地址:https://www.cnblogs.com/skyheaving/p/12582139.html