I\'m following this tutorial step by step
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-signalr-20-self-host
And I\
Ok I've solved it.
I had to upgrade my Microsoft.Owin.Security package to 2.1.0 with this command
Install-Package Microsoft.Owin.Security -Version 2.1.0
And modify the bindings in my App.config like this