【发布时间】:2017-03-09 17:08:03
【问题描述】:
我有一个 angular 2 页面,其中包含一个尝试通过令牌端点在 Identity Server 4 上进行身份验证的服务。
我正在尝试将 Identity Server 4 与 Entity Framework Core 用于客户端和范围,并为用户使用 AspNet Identity
但我得到一个奇怪的 Missing 方法异常
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0]
An unhandled exception has occurred while executing the request
System.MissingMethodException: Method not found: 'Microsoft.EntityFrameworkCore.Query.IIncludableQueryable`2<!!0,!!2> Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ThenInclude(Microsoft.EntityFrameworkCore.Query.IIncludableQueryable`2<!!0,System.Collections.Generic.ICollection`1<!!1>>, System.Linq.Expressions.Expression`1<System.Func`2<!!1,!!2>>)'.
这发生在验证客户端和范围之后
我不明白错误是什么...如果您需要任何代码,请询问
【问题讨论】:
-
你升级到 1.0.0-rc4 了吗?我昨天做了,今天早上才开始出现这个错误。
-
我也在 GitHub 上报告了这个问题:github.com/IdentityServer/IdentityServer4.EntityFramework/…
标签: asp.net-identity identityserver4