我成功地将我的身份验证服务器与资源服务器分开。现在,我面临着管理用户帐户的挑战。即创建新帐户、删除用户、更新用户等。我无法访问AuthServer上的AccountController。我确实遇到了Scott Brady的Identity Manger Tutorial,我试图遵循本教程,但遇到了兼容性问题,出现了以下错误:
Errors in C:\Users\Julius\Documents\Projects\School\Development\In Progress\1\ReportBook\ReportBook.Auth\ReportBook.Auth.xproj
Package IdentityManager.AspNetIdentity 1.0.0-beta5-1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package IdentityManager.AspNetIdentity 1.0.0-beta5-1 supports: net45 (.NETFramework,Version=v4.5)
Package IdentityManager 1.0.0-beta5-5 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package IdentityManager 1.0.0-beta5-5 supports: net45 (.NETFramework,Version=v4.5)
Package Microsoft.AspNet.Identity.Core 2.2.1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.AspNet.Identity.Core 2.2.1 supports: net45 (.NETFramework,Version=v4.5)
Package Owin 1.0.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
Package IdentityManager.AspNetIdentity 1.0.0-beta5-1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0) / win10-x64. Package IdentityManager.AspNetIdentity 1.0.0-beta5-1 supports: net45 (.NETFramework,Version=v4.5)
Package IdentityManager 1.0.0-beta5-5 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0) / win10-x64. Package IdentityManager 1.0.0-beta5-5 supports: net45 (.NETFramework,Version=v4.5)
Package Microsoft.AspNet.Identity.Core 2.2.1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0) / win10-x64. Package Microsoft.AspNet.Identity.Core 2.2.1 supports: net45 (.NETFramework,Version=v4.5)
Package Owin 1.0.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0) / win10-x64. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
One or more packages are incompatible with .NETCoreApp,Version=v1.0 (win10-x64).我喜欢使用angular 2作为构建用户帐户管理系统的前端。
发布于 2017-02-06 13:42:09
不幸的是,IdentityManager只适用于ASP.NET 4.x。如果您使用的是Core/IdentityServer4,则必须为您的身份管理系统构建自己的CRUD API集。
https://stackoverflow.com/questions/42057200
复制相似问题