private IAuthenticationManager AuthenticationManager
{
get
{
return HttpContext.GetOwinContext().Authentication;
}
}
我遇到了错误:
'System.Web.HttpContextBase' 不包含 'GetOwinContext' 的定义,且没有接受类型为 'System.Web.HttpContextBase' 的第一个参数的扩展方法 'GetOwinContext' 可用(是否缺少 using 指令或程序集引用?)
可能出了什么问题?