摘要: 之前在 ASP.NET Core 2.0 中可以正常运行的代码,升级到 ASP.NET Core 2.1 之后出现错误:"System.InvalidOperationException: No service for type 'Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor' has been registered",查看 ViewResultExecutor 的定义发现 ViewResultExecutor 实现了 IActionResultExecutor阅读全文
posted @ 2018-05-19 16:52 dudu 阅读(267) 评论(0) 编辑