菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
431
0

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

原创
05/13 14:22
阅读数 98137

      最近迁移项目至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

发表评论

0/200
431 点赞
0 评论
收藏