I am getting this error
Owin.IAppBuilder' does not contain a definition for 'MapSignalR' and no extension method 'MapSignalR' accepting a first argument of type 'Owin.IAppBuilder' could be found (are you missing a using directive or an assembly reference?)
This is my code
using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(VirtualClassroom.Startup1))]
namespace VirtualClassroom
{
public class Startup1
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
} I searched a lot and tried as per stack overflow answer 'Owin.IAppBuilder' does not contain a definition for 'MapSignalR' I had
1.Added Microsoft.Owin //version 2.0.1
2.Added Microsoft.Owin.Security //version 2.0.1
3.Added Microsoft Asp.Net SignalR
But still I am getting the same error. Please help. Thanks in advance!!
Microsoft.AspNet.SignalR.Core.dll
do you have? – christiandev