How to use signalr v2 beta in asp.net mvc 4 -


before v2:

routetable.routes.maphubs(); 

in v2, maphubs not exist anymore. wiki says add startup class , configuration method , call app.maphubs().

namespace myassembly  { public class startup {     public void configuration(iappbuilder app)     {         //before v2         //routetable.routes.maphubs();          app.maphubs();     } } } 

but method never called, no error occurs, , ... no hub setup.

i suppose there code add global.asax.cs

what secret ?

try defining [assembly : owinstartup(typeof(myassembly.startup))] see if startup class being picked up.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -