No OWIN authentication manager is associated with the request

前端 未结 7 1542
故里飘歌
故里飘歌 2020-12-08 01:37

After trying to enable owin & AspNet Identity to my Web Api project (in VS 2013 + .Net 4.5.1) I get the following error in each valid or unvalid(request to none exist co

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 02:22

    I had the same problem. The package was not appearing in the NuGet Package manager. I added reference in packages.config:

     
    

    And reference in the project file (xxx.csproj):

     
      ..\packages\Microsoft.Owin.Host.SystemWeb.2.1.0\lib\net45\Microsoft.Owin.Host.SystemWeb.dll
    
    

提交回复
热议问题