Vikram Khyadi
Vikram Khyadi

Reputation: 1

Signalr using MVC 4

I am unable to run the chat application using singalr and I am facing problem with owin.

The following errors occurred while attempting to load the app:

Upvotes: 0

Views: 604

Answers (2)

Patrick Fletcher
Patrick Fletcher

Reputation: 46

Sounds like you're mixing 1.0 and 2.0 components in your project. See the following tutorial for how to upgrade a 1.0 project to 2.0:

http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/upgrading-signalr-1x-projects-to-20

Upvotes: 1

JEV
JEV

Reputation: 2504

Do you have the Startup.cs in your project? More code please.

public class Startup
{
    public void Configuration(IAppBuilder app)
    {
        app.MapSignalR();
    }
}

In addition have you setup any hubs?

public class ChatBoxHub : Hub
{
    public ChatBoxHub()
    {
    }
}

Upvotes: 0

Related Questions