Please help me.
I develop a plugin widget with signalr library.
In DependencyRegistrar.cs i use:
builder.RegisterType<LiveChatHub>().As<LiveChatHub>();
builder.RegisterType<LiveChatHub>().ExternallyOwned();
GlobalHost.DependencyResolver.Register(
typeof(LiveChatHub),
() => new LiveChatHub());
And in startup class
public void Configuration(IAppBuilder app)
{
// For more information on how to configure your application, visit http://go.microsoft..../?LinkID=316888
app.MapSignalR();
}
- Startup Class do not run
- The plugin do not generate /signalr/hubs so the client do not work.
Please help me to solve the problem. Thank you very much.