var authenticationManager = HttpContext.Current.GetOwinContext().Authentication;
vs2013を使用していますが、このコード行は機能していません
それは言う
エラー 1 'System.Security.Principal.IPrincipal' には 'GetOwinContext' の定義が含まれておらず、タイプ 'System.Security.Principal.IPrincipal' の最初の引数を受け入れる拡張メソッド 'GetOwinContext' が見つかりませんでした (ディレクティブまたはアセンブリ参照を使用していますか?)
AuthenticationManager
クラスは名前空間に解決されSystem.Net
ます