Answer the question
In order to leave comments, you need to log in
How to connect SignalR in asp.net mvc 5?
Hello. Please tell me how to connect in asp.net mvc 5 signalR.
In the asp.net mvc 4 project, everything worked out for me:
1. Installed the library, added the config for signalR to the App_Start folder.
2. Added a hub.
3. In the view, this hub was used.
In the end, everything worked.
I do the same in asp.net mvc 5 and nothing works. I sin on a slightly different Startup class. I write in it like this:
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
ConfigureAuth(app);
}
}
Answer the question
In order to leave comments, you need to log in
look First Application with SignalR 2
You may not have integrated the libraries correctly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question