【发布时间】:2016-01-15 09:40:03
【问题描述】:
将我的项目更新到最近发布的 ASP.NET 5 beta8 后,我发现 IServiceCollection 不再包含 ConfigureIdentity 和 ConfigureIdentityApplicationCookie 的定义。
所以之前写的代码就像
services.ConfigureIdentity(o =>
{
o.Password.RequireUppercase = false;
o.Password.RequireNonLetterOrDigit = false;
});
services.ConfigureIdentityApplicationCookie(o => o.LoginPath = "/Admin/Users/Login");
不能再编译了。
谷歌搜索没有结果,我想是因为距离 beta8 发布仅过去了一天。
有没有人找到解决方法? beta8应该如何配置身份选项?
【问题讨论】:
标签: c# asp.net asp.net-identity asp.net-core