NullReferenceException with Owin

白昼怎懂夜的黑 提交于 2019-12-04 08:58:54

The solution above didn't help me however I finally found the answer after trying many things.

I develop multiple solutions concurrently and something must have been getting tangled in the localhost cookies (each solution runs on a different localhost port). After clearing my localhost cookies the issue was resolved.

Updating OWIN from v2 to v3 seems to fix this issue.

It's worth noting that all OWIN related packages should be updated too.

Updating from OWIN v3.0 to v3.1 fixed the problem for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!