摘要:
之前在 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 阅读全文
摘要:
今天微软发布了 .NET Core 2.1 RC 1 ,虽然只是 Release Candidate 版,但已经可以在生产环境中使用。"NET Core 2.1 RC is supported by Microsoft and can be used in production." .NET Core 2.1 的性能大提升早让人垂涎三尺,看到这个消息后,忍不住今天就进行了升级。主要升级步骤如下:。。。 阅读全文