SignalR 2.0.2 Creating PersistentConnection
asp.net-mvc-4, c#, signalr
Solution
I changed the code like below and I started to work.
app.MapSignalR<ConnectionHub>("/echo");
ConnectionHub is the class that inherit from PersistentConnection. The examples on the internet does not require to specify the class but they didnt work for me.
Problem
I installed SignalR 2.0.2 to my MVC 4.5 Application by using package manager console. And I did the standard example for the connection configuration. ``` namespace SignalRPersistent { public class Startup { public void Configuration(IAppBuilder app) { app.MapSignalR("/echo"); } } } ``` The problem is MapSignalR method does not accept string, while compiling the error says that Argument type string is not assignable to parameter type SignalRHubConfiguration. But I can see an overload method that accepts a string but it insists not to be compiled. What can be problem ?