B
B
BloodyBlade2015-07-27 12:26:28
ASP.NET
BloodyBlade, 2015-07-27 12:26:28

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);
    }
  }

Maybe someone faced a similar problem or sees that I'm stupid, please help me to solve the problem!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max Maximov, 2015-07-27
@maximka19

look First Application with SignalR 2
You may not have integrated the libraries correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question